GNU bug report logs - #23234
unexpected results with charset handling in GNU grep 2.23

Previous Next

Package: grep;

Reported by: Björn JACKE <bjoern <at> j3e.de>

Date: Wed, 6 Apr 2016 20:45: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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eric Blake <eblake <at> redhat.com>, Björn JACKE <bjoern <at> j3e.de>, 23234 <at> debbugs.gnu.org
Subject: bug#23234: unexpected results with charset handling in GNU grep 2.23
Date: Sat, 9 Apr 2016 01:34:26 -0700
Paul Eggert wrote:
> Perhaps grep should work around this problem on systems like Fedora 23 where the
> underlying C library does not conform to the next version of POSIX. It sounds
> like a new gnulib module or two might do the trick. This should fix the problems
> that Björn mentions.

I've started on this by changing the mbrtowc module in gnulib to work around the 
future-POSIX incompatibility of mbrtowc in glibc. See:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b7bc3c1a4e78add4cbad39ae1a0c4fb0747b483f

I plan to change GNU grep to use this new facility, and to add some grep test 
cases for this issue.




This bug report was last modified 9 years and 46 days ago.

Previous Next


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