Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 07/19/1996 21:10:14
jtc
Fri Jul 19 21:00:59 EDT 1996
Update of /a/cvsroot/src/lib/libc/stdlib
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv13814

Revision/Branch: netbsd-1-2

Modified Files:
	strtol.c strtoul.c 
Log Message:
Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds explicit
casts to unsigned char before the value of a character is copied.


jtc
Fri Jul 19 21:03:57 EDT 1996
Update of /a/cvsroot/src/lib/libc/stdlib
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv13983

Revision/Branch: netbsd-1-2

Modified Files:
	strtoq.c strtouq.c 
Log Message:
Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds casts to 
signed chars which results in proper behavior.


jtc
Fri Jul 19 21:09:17 EDT 1996
Update of /a/cvsroot/src/lib/libc/stdlib
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv14038

Revision/Branch: netbsd-1-2

Modified Files:
	strtod.c 
Log Message:
The argument to isspace() must be representable as an unsigned char.
This change casts the argument to an unsigned char so that this
function will work with strings with their 8th bit set.