diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-05-02 11:55:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-05-02 11:55:01 +0000 |
commit | ffa42cf6a0aa8835f832027c7545e2476b89b834 (patch) | |
tree | d31c67e411c2e62198836716809ec3560fcbff75 /newlib/libc/locale | |
parent | be129c26e2144ba97518217d91f1d695e32217a5 (diff) | |
download | newlib-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