aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/locale
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-05-02 11:55:01 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-05-02 11:55:01 +0000
commitffa42cf6a0aa8835f832027c7545e2476b89b834 (patch)
treed31c67e411c2e62198836716809ec3560fcbff75 /newlib/libc/locale
parentbe129c26e2144ba97518217d91f1d695e32217a5 (diff)
downloadnewlib-ffa42cf6a0aa8835f832027c7545e2476b89b834.zip
newlib-ffa42cf6a0aa8835f832027c7545e2476b89b834.tar.gz
newlib-ffa42cf6a0aa8835f832027c7545e2476b89b834.tar.bz2
* 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.
Diffstat (limited to 'newlib/libc/locale')
0 files changed, 0 insertions, 0 deletions