DragonFly commits List (threaded) for 2005-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libc/string strcasecmp.c
dillon 2005/04/29 09:12:52 PDT
DragonFly src repository
Modified files:
lib/libc/string strcasecmp.c
Log:
Final forced commit to correct log comments. char's are *signed*, not
unsigned. However, most string operations must do unsigned comparisons.
The CTYPE API is expected to properly fold signed chars when making
conversions but if a call does not do a conversion, e.g. tolower() on a
character which is not upper case, the original contents (negative or
positive) may be returned.
This means that we can safely use signed chars everywhere *except* when
we have to do an inequality.
Revision Changes Path
1.8 +0 -0 src/lib/libc/string/strcasecmp.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/string/strcasecmp.c.diff?r1=1.7&r2=1.8&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]