src/newlib ChangeLog libc/stdlib/wctob.c
corinna@sourceware.org
corinna@sourceware.org
Sun May 2 11:55:00 GMT 2010
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2010-05-02 11:55:01
Modified files:
newlib : ChangeLog
newlib/libc/stdlib: wctob.c
Log message:
* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename
pwc to pmb and convert to array to avoid buffer overflow. Rename c to
wc. Check wc for WEOF instead of for EOF. Return first byte of pmb if
__wctomb conversion returned exactly one byte, EOF otherwise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1504&r2=1.1505
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdlib/wctob.c.diff?cvsroot=src&r1=1.4&r2=1.5
More information about the Newlib-cvs
mailing list