GNU bug report logs - #20526
BUG: text file is detected as binary

Previous Next

Package: grep;

Reported by: Sebastian Poehn <sebastian.poehn <at> gmail.com>

Date: Thu, 7 May 2015 15:41:03 UTC

Severity: normal

Merged with 19230, 19985, 21558

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

Bug is archived. No further changes may be made.

Full log


Message #116 received at 20526 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: sebastian.poehn <at> gmail.com, 20526 <at> debbugs.gnu.org
Subject: Re: bug#20526: grep BUG: text file is detected as binary
Date: Fri, 8 Jan 2016 07:27:56 -0800
[Message part 1 (text/plain, inline)]
Paul Eggert wrote:
> I missed the possibility of a unibyte encoding where not all bytes are valid
> unibyte characters.

I found a significant performance problem related to that bug and bug fix, and 
installed the attached further patch 0001. Come to think of it, this issue 
should be in NEWS too, so I added the attached patch 0002.
[0001-grep-improve-unibyte-P-performance.patch (text/x-diff, attachment)]
[0002-doc-mention-unibyte-encoding-fix.patch (text/x-diff, attachment)]

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

Previous Next


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