Since this problem was not in 'grep' I am closing the bug report.
* 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
* 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
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
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.
Vincent Lefevre wrote:
I've done various tests, and it seems fine. Thanks.
You're welcome; closing the bug report.
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
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
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