diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-06-05 09:39:42 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-06-05 09:40:19 -0700 |
commit | b342369b8f6d0bee5f7eda04e63b694dbccc912a (patch) | |
tree | 550c2fbca0ad511175a6e8a6d0a75d4af2fd3663 /bootstrap.conf | |
parent | d5dfa69b98df5717d8f77f79665dc350951f0e61 (diff) | |
download | grep-b342369b8f6d0bee5f7eda04e63b694dbccc912a.tar.gz |
grep: use system strstr if available and fast
Problem reported by Norihiro Tanaka in: http://bugs.gnu.org/17700
* NEWS: Document this.
* bootstrap.conf (gnulib_modules): Add strstr.
* src/dfa.c (istrstr): Remove.
(enlist): Use strstr instead. Wait until we need memory before
allocating it; this can save an unnecessary allocate and free.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 9f3457da..1ab730db 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -77,6 +77,7 @@ stdlib stpcpy strerror string +strstr strtoull strtoumax sys_stat |