summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-02 17:15:35 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-02 17:15:35 +0000
commit22904520b64daed2a27e5b29d995f8705a367518 (patch)
treea7157bf4669f3b0b4189f4e40662eadd86a5937a /test
parent36bc0152fe584b13367d05681fbef346696d6b04 (diff)
downloaduClibc-alpine-22904520b64daed2a27e5b29d995f8705a367518.tar.bz2
uClibc-alpine-22904520b64daed2a27e5b29d995f8705a367518.tar.xz
Fix wcswidth function when LOCALE support is disabled
while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Diffstat (limited to 'test')
-rw-r--r--test/locale-mbwc/dat_iswctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/locale-mbwc/dat_iswctype.c b/test/locale-mbwc/dat_iswctype.c
index 6448b328f..0dcf1824e 100644
--- a/test/locale-mbwc/dat_iswctype.c
+++ b/test/locale-mbwc/dat_iswctype.c
@@ -240,7 +240,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
{ { 0x007B, "cntrl" }, { 0,1,0 } },
{ { 0x007E, "cntrl" }, { 0,1,0 } },
{ { 0x007F, "cntrl" }, { 0,0,0 } },
- { { 0x0080, "cntrl" }, { 0,0,0 } },
+ { { 0x0080, "cntrl" }, { 0,1,0 } },
{ { 0x0000, "digit" }, { 0,1,0 } },
{ { 0x001F, "digit" }, { 0,1,0 } },
{ { 0x0020, "digit" }, { 0,1,0 } },