Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: John Hawkinson <jhawk@netbsd.org>
List: source-changes
Date: 09/03/2000 22:08:01
Module Name: basesrc
Committed By: jhawk
Date: Sun Sep 3 19:08:01 UTC 2000
Modified Files:
basesrc/lib/libc/net [netbsd-1-5]: inet_network.c
Log Message:
Pullup rev 1.12-1.13, approved by thorpej, requested by jhawk:
> revision 1.13
> date: 2000/07/07 08:03:39; author: itohy; state: Exp; lines: +4 -4
> Passing "char" values to ctype(3) functions is problematic.
> If an argument of a ctype function is outside "unsigned char"
> and if it is not EOF, the behavior is undefined.
>
> The isascii(3) is the sole exception of above and it was used to
> be used to check a value was valid for other ctype functions in
> ancient systems. On modern systems, the ctype functions take
> all values of "unsigned char", and this check is obsolete and
> even wrong for non-ASCII systems. However, we leave the isascii()
> untouched for now, so as not to change the current behavior.
> ----------------------------
> revision 1.12
> date: 2000/07/06 02:57:23; author: christos; state: Exp; lines: +5 -4
> de-register
> use the proper types for vars
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.11.4.1 basesrc/lib/libc/net/inet_network.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.