bug#23234: unexpected results with charset handling in GNU grep 2.23

2016-04-09 Thread Paul Eggert
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

bug#23234: unexpected results with charset handling in GNU grep 2.23

2016-04-09 Thread Norihiro Tanaka
On Wed, 6 Apr 2016 18:25:16 -0700 Paul Eggert wrote: > On 04/06/2016 04:15 PM, Eric Blake wrote: > > And yes, maybe we could change grep to print the "Binary file matches" > > message to stderr, but that in turn will probably break other scripts, > > and lead to even more complaints from people

bug#23234: unexpected results with charset handling in GNU grep 2.23

2016-04-09 Thread Paul Eggert
Norihiro Tanaka wrote: Hmm, diff does not output "Binary file matches" between text files, but grep does it. I wasn't referring to the exact string "Binary file matches", merely to the idea that diff outputs a message to stdout saying that there was a binary file, rather than to stderr. Somet