summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-11-02 07:59:17 +0000
committerbapt <bapt@FreeBSD.org>2015-11-02 07:59:17 +0000
commit2cf4425aa85b71488080992062a902dbb5ce6834 (patch)
tree260f9e6af3301161e40dada939d960ee4842e44d /contrib/netbsd-tests
parent7f1c4b56cbd4a89b67f01c31d101a230bd4749c6 (diff)
downloadFreeBSD-src-2cf4425aa85b71488080992062a902dbb5ce6834.zip
FreeBSD-src-2cf4425aa85b71488080992062a902dbb5ce6834.tar.gz
Fix regression test on multibytes
0x07FF and 0x0800 are valid multibyte characters: 'DOUBLE QUESTION MARK' and 'QUESTION EXCLAMATION MARK'
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r--contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c b/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c
index cd05d25..7f2acfc 100644
--- a/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c
+++ b/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c
@@ -87,7 +87,7 @@ static struct test {
0x5B, 0x01, 0x7F, 0x5D, 0x5B, 0x80, 0x07FF, 0x5D, 0x5B, 0x0800,
0xFFFF, 0x5D, 0x5B, 0x10000, 0x10FFFF, 0x5D, 0x0A
},
- { 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1,
+ { 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1,
1, 1, -1, -1, 1, 1, -1, -1, 1, -1
},
-1
OpenPOWER on IntegriCloud