bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18974: grep-2.20 test-mbrtowc3.sh fails on Solaris without European


From: Norihiro Tanaka
Subject: bug#18974: grep-2.20 test-mbrtowc3.sh fails on Solaris without European localization
Date: Fri, 07 Nov 2014 23:44:27 +0900

Kiyoshi KANAZAWA <address@hidden> wrote:
> Hello,
> 
> On Solaris 10 x86/x64,
> "test-mbrtowc3.sh" fails if European localization is not installed.
> It passes with European localization.
> 
> This is the common test-suite bug in
> diffutils-3.3, grep-2.20, libunistring-0.9.4 and m4-1.4.17.
> 
> --- Kiyoshi <address@hidden>

If second argument `s' to mbrtowc is NULL, first argument `pwc' should
not be changed, but it seems that it is changed into L'\0' on Solaris 10.

--
test-mbrtowc.c:116: assertion 'wc == (wchar_t) 0xBADFACE' failed
Abort - core dumped
FAIL test-mbrtowc3.sh (exit status: 134)
--







reply via email to

[Prev in Thread] Current Thread [Next in Thread]