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


View this message in rfc822 format

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Jim Meyering <jim <at> meyering.net>, 43527-done <at> debbugs.gnu.org
Subject: bug#43527: [PATCH] grep: avoid unneeded compilation of regex
Date: Sun, 27 Sep 2020 11:19:08 +0900
On Sat, 26 Sep 2020 18:12:37 -0700
Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> 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.

No longer need the patch.

This bug occurs when the last argument of the first GEAcompile () is
executed with 'false' and regex search is requested for the compiled
pattern.

However, with a recent fix by Paul, the first GEAcompile() no longer
seems to run in any case.





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.