Source-Changes archive

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

CVS commit: src/lib



Module Name:    src
Committed By:   dsl
Date:           Wed Oct 27 19:59:24 UTC 2004

Modified Files:
        src/lib/libc/gen: fmtcheck.c
        src/lib/libc/stdlib: strtod.c
        src/lib/libedit: emacs.c
        src/lib/libform: type_alnum.c type_alpha.c type_integer.c
            type_numeric.c
        src/lib/libskey: put.c
        src/lib/libtelnet: genget.c
        src/lib/libusbhid: usage.c

Log Message:
Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/lib/libc/gen/fmtcheck.c
cvs rdiff -r1.42 -r1.43 src/lib/libc/stdlib/strtod.c
cvs rdiff -r1.17 -r1.18 src/lib/libedit/emacs.c
cvs rdiff -r1.7 -r1.8 src/lib/libform/type_alnum.c
cvs rdiff -r1.8 -r1.9 src/lib/libform/type_alpha.c
cvs rdiff -r1.6 -r1.7 src/lib/libform/type_integer.c \
    src/lib/libform/type_numeric.c
cvs rdiff -r1.10 -r1.11 src/lib/libskey/put.c
cvs rdiff -r1.9 -r1.10 src/lib/libtelnet/genget.c
cvs rdiff -r1.4 -r1.5 src/lib/libusbhid/usage.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