]> sourceware.org Git - newlib-cygwin.git/commit
* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 2 May 2010 11:55:01 +0000 (11:55 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 2 May 2010 11:55:01 +0000 (11:55 +0000)
commitffa42cf6a0aa8835f832027c7545e2476b89b834
treed31c67e411c2e62198836716809ec3560fcbff75
parentbe129c26e2144ba97518217d91f1d695e32217a5
* 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.
newlib/ChangeLog
newlib/libc/stdlib/wctob.c
This page took 0.029799 seconds and 5 git commands to generate.