diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-09 13:01:58 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-09 13:01:58 +0000 |
commit | a79016198c859a3388584ac7782d760f349e2d67 (patch) | |
tree | ad74465aca5c92984b7314970818cbb775dc80c3 /libc/stdio/_scanf.c | |
parent | d673a24ff2e988888cabfd37d48dc72cbada95a5 (diff) |
Fix some locale multibyte tests failures ad below:
libc/stdlib/_strtod.c -> tst_wcstod;
libc/stdlib/stdlib.c -> tst_mblen, tst_mbtowc, tst_wctomb;
libc/stdio/_scanf.c -> tst_swscanf;
libc/string/strncmp.c -> tst_wcsncmp;
libc/misc/wchar/wchar.c -> tst_mbrlen, tst_mbrtowc, tst_wcswidth.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/stdio/_scanf.c')
-rw-r--r-- | libc/stdio/_scanf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c index bef1ce0b5..3b004d5f0 100644 --- a/libc/stdio/_scanf.c +++ b/libc/stdio/_scanf.c @@ -1068,9 +1068,6 @@ static int sc_getc(register struct scan_cookie *sc) wc = '.'; } else #endif /* __UCLIBC_HAS_FLOATS__ */ - if (!__isascii(wc)) { - wc = '?'; - } sc->wc = sc->ungot_char = wc; return (int) wc; |