[TUHS] MacOS X is Unix (tm)

Random832 random832 at fastmail.com
Wed Jan 4 00:33:44 AEST 2017


On Tue, Jan 3, 2017, at 09:06, David wrote:
> MacOS passes this except for the si_status test. MacOS uses a signed int
> there. I’m not sure what the standard says.

The problem isn't the fact that it's signed, it's the fact that it's
only a 24-bit value (i.e. the high 8 bits are replaced with
sign-extension of bit 23). Look at the hex - expected 0x499602d2 vs
actual 0xff9602d2

However, OSX only claims compliance to Issue 6 (unistd.h _XOPEN_VERSION
600), and the text requiring that the full 32-bit value be preserved is
new to Issue 7.



More information about the TUHS mailing list