[Bug 221418] FreeBSD 10.4-PRERELEASE fails to build on systems using 32 bit time_t since r322315.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 16 13:00:17 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221418
--- Comment #3 from jau at iki.fi ---
To Conrad I have to point out that truncating INT64_MIN to 32 bits
might produce INT32_MIN on a big endian system. On a little endian
platform the type cast invariably produces a plain zero (0).
Concerning my using CHAR_BIT instead of plain numeric 8 I have to
say I like portability enough to assume someone some day might wish
to use FreeBSD on a system which does not use the 8/16/32/64 bits
basic data units division our contemporary systems use. Maybe one
day there is a reason to run FreeBSD on a system using 9/18/36 data
unit division like in the old PDP-10 or IBM 7094.
When there is no real reason to use minimum time_t it is in my
opinion really much better to use -(SYNCOOKIE_LIFETIME + 1) as
done in the fix 322454. Thanks Michael!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list