Defect report from : Jon Hitchcock , none
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 257-258 line 9095-9131 section limits.h objection {jjh-85}
Problem:
Defect code : 1. Error
There is conflicting information about the minimum size of an int.
XBD lines 9095, 9119 and 9131 specify that the minimum acceptable values of
INT_MAX, UINT_MAX and INT_MIN are 2147483647, 4294967295 and -2147483647.
XBD lines 9216-9217 say that 32-bit values are the minimum requirement in Issue
5 of the Open Group Base Specifications.
XCU lines 35337 and 35419 (touch) claim that a signed int can hold time values
up to January 18, 2038.
However:
XBD line 9128 specified that the minimum acceptable value of WORD_BIT is 16.
XSH lines 4335-4340 (alarm) and 42884-42889 (sleep) appear to say that a
strictly conforming applcation can only use unsigned int values up to 65535.
[The wording is unchanged since POSIX.1-1988, and is not necessary in practice
if unsigned ints are at least 32 bits.]
Action:
Decide what the minimum size is, and modify the standard accordingly.
If XBD lines 9095, 9119 and 9131 are not changed, CX-shade them because the C
standard only requires 16-bit ints.
|