Subject: PR/31306 CVS commit: src/regress/include
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Drochner <drochner@netbsd.org>
List: netbsd-bugs
Date: 08/31/2007 16:35:01
The following reply was made to PR lib/31306; it has been noted by GNATS.

From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/31306 CVS commit: src/regress/include
Date: Fri, 31 Aug 2007 16:20:50 +0000 (UTC)

 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.