GNU bug report logs - #43527
[PATCH] grep: avoid unneeded compilation of regex

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Sun, 20 Sep 2020 07:17:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #43 received at 43527-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>, Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: 43527-done <at> debbugs.gnu.org
Subject: Re: bug#43527: [PATCH] grep: avoid unneeded compilation of regex
Date: Sat, 26 Sep 2020 18:12:37 -0700
On 9/26/20 1:48 PM, Jim Meyering wrote:
> As far as I can see, this patch is not necessary (also, I could not
> reproduce your abort), so I'm closing this issue. Please reopen if you
> can demonstrate its utility.

When I looked into it last week, I did the same thing with an assert with the 
same results that you got.

In looking at the source code I thought that the patch wasn't needed for current 
'grep' and so could wait until after the release. The patch should be harmless 
(though this fact isn't trivial) and I can see it being useful for plausible 
future performance improvements, so it would make sense to install it after the 
next release.




This bug report was last modified 4 years and 316 days ago.

Previous Next


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