GNU bug report logs - #18974
grep-2.20 test-mbrtowc3.sh fails on Solaris without European localization

Previous Next

Package: grep;

Reported by: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>

Date: Thu, 6 Nov 2014 10:16:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
Cc: 18974 <at> debbugs.gnu.org
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 <yoi_no_myoujou <at> yahoo.co.jp> 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 <yoi_no_myoujou <at> yahoo.co.jp>

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)
--






This bug report was last modified 8 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.