bug#21827: Large file support

2015-12-30 Thread Paul Eggert
Since this problem was not in 'grep' I am closing the bug report.

bug#22279: [PATCH] grep: remove duplicate init

2015-12-30 Thread Paul Eggert
* src/grep.c (print_line_middle): Remove duplicate initialization. --- src/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grep.c b/src/grep.c index 696f4ce..03a1bff 100644 --- a/src/grep.c +++ b/src/grep.c @@ -1051,7 +1051,7 @@ print_line_middle (char *beg, char *li

bug#22278: [PATCH] grep: report line-buffered write error right away

2015-12-30 Thread Paul Eggert
* src/grep.c (prline): When line buffered, if there is a write error, report it immediately rather than waiting until the next line of output. --- src/grep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grep.c b/src/grep.c index 06f315d..696f4ce 100644 --- a/src/gr

bug#22028: grep -Pc / grep -P | wc -l inconsistent results

2015-12-30 Thread Paul Eggert
Thanks for the bug report and fix, Jaroslav. And thanks, Norihiro, for the test case; I think I independently came up with something similar to your grep.c fix in my earlier patches today and so I expect that part of your changes are no longer needed. I installed the attached combined patch for

bug#22260: tinycc complaint about dfa.c

2015-12-30 Thread Paul Eggert
Paul Eggert wrote: Aharon Robbins wrote: Should I commit this fix? Yes, please. Never mind; I installed it, as we want to release a new bugfix version soon. Closing the bug.

bug#22144: --exclude no longer works against arguments with a directory name

2015-12-30 Thread Paul Eggert
Vincent Lefevre wrote: I've done various tests, and it seems fine. Thanks. You're welcome; closing the bug report.

bug#20526: grep BUG: text file is detected as binary

2015-12-30 Thread Jim Meyering
On Wed, Dec 30, 2015 at 7:25 PM, Paul Eggert wrote: > I installed into Savannah a patch (attached) that should fix this problem in > typical cases, and am boldly marking the bug as done. Please give the fix a > try if you have the time. Thanks. Thank you! The combination of this and the grep -oP

bug#20526: grep BUG: text file is detected as binary

2015-12-30 Thread Paul Eggert
I installed into Savannah a patch (attached) that should fix this problem in typical cases, and am boldly marking the bug as done. Please give the fix a try if you have the time. Thanks. >From ba23b4ee721750399ede8933cf472e0c6aa6e37f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 30 Dec 2

bug#22144: --exclude no longer works against arguments with a directory name

2015-12-30 Thread Vincent Lefevre
On 2015-12-28 01:09:40 -0800, Paul Eggert wrote: > Vincent Lefevre wrote: > > The documentation is still ambiguous. For the "main case", is this > > the canonical name as returned by realpath? > > > > > >As you say, the 2.22 behavior does not seem ideal. > > By doing a difference for subfiles of a