Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/regress/include



Module Name:    src
Committed By:   drochner
Date:           Fri Aug 31 16:20:50 UTC 2007

Modified Files:
        src/regress/include: Makefile
Added Files:
        src/regress/include/stdint: Makefile stdint.c

Log Message:
Add a check for correct definition of UCHAR_MAX/USHRT_MAX and related
types. C99 requires that these definitions promote to (signed/unsigned)
integer the same way as the types the definition is for. And since
unsigned char/short fit into an "int" on all our archs and thus promote
to signed int, the definitions must not be unsigned.
Addresses PR lib/31306 by Neil Booth.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/regress/include/Makefile
cvs rdiff -r0 -r1.1 src/regress/include/stdint/Makefile \
    src/regress/include/stdint/stdint.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index