https://bugs.kde.org/show_bug.cgi?id=466104

--- Comment #5 from Paul Floyd <pjfl...@wanadoo.fr> ---
Ilumos cont'd

TREE is a struct of size 6 words, so MINSIZE is 5 words

usr/src/uts/common/sys/int_limits.h:#define     SIZE_MAX       
18446744073709551615UL
usr/src/uts/common/sys/int_limits.h:#define     SIZE_MAX        4294967295UL

usr/src/lib/libc/port/gen/mallint.h:#define     CORESIZE        (1024*ALIGN)

ALIGN is 16 / 8 on 64/32 bit.

usr/src/head/limits.h:#define   SSIZE_MAX       LONG_MAX        /* max value of
an "ssize_t" */

And the 64bit long  max as expected
usr/src/boot/sys/x86/include/_limits.h:#define  __LONG_MAX     
0x7fffffffffffffff      /* max for a long */
32 bit

I think that's enough to work everything out on Illumos
And hope that Solaris is the same.
usr/src/boot/sys/x86/include/_limits.h:#define  __LONG_MAX      0x7fffffffL

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to