[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 8/9] grep: prepare for libification of *search.c
From: |
Jim Meyering |
Subject: |
Re: [PATCH 8/9] grep: prepare for libification of *search.c |
Date: |
Fri, 19 Mar 2010 16:33:18 +0100 |
Paolo Bonzini wrote:
> * src/dfasearch.c (Ecompile): Remove.
> * src/esearch.c: Place it here...
> * src/gsearch.c: ... and here.
We never like duplication, but it's a tiny function...
ACK
...
> diff --git a/src/esearch.c b/src/esearch.c
...
> +static void
> +Ecompile (char const *pattern, size_t size)
> +{
> + return GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP);
> +}
> diff --git a/src/gsearch.c b/src/gsearch.c
...
> +static void
> +Ecompile (char const *pattern, size_t size)
> +{
> + return GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP);
> +}
- [PATCH 3/9] grep: change struct matcher termination, (continued)
- [PATCH 3/9] grep: change struct matcher termination, Paolo Bonzini, 2010/03/19
- [PATCH 4/9] grep: make egrep/fgrep use struct matcher, Paolo Bonzini, 2010/03/19
- [PATCH 5/9] grep: eliminate {COMPILE,EXECUTE}_{RET,ARGS,FCT}, Paolo Bonzini, 2010/03/19
- [PATCH 6/9] grep: remove one #ifdef, Paolo Bonzini, 2010/03/19
- [PATCH 8/9] grep: prepare for libification of *search.c, Paolo Bonzini, 2010/03/19
- Re: [PATCH 8/9] grep: prepare for libification of *search.c,
Jim Meyering <=
- [PATCH 9/9] grep: libify *search.c, Paolo Bonzini, 2010/03/19
- [PATCH 7/9] grep: split search.c, Paolo Bonzini, 2010/03/19
- Re: [PATCH 0/9] remove most {,E,F}GREP_PROGRAM occurrences, Jim Meyering, 2010/03/19
- Re: [PATCH 0/9] remove most {,E,F}GREP_PROGRAM occurrences, Jim Meyering, 2010/03/19
- Re: [PATCH 0/9] remove most {,E,F}GREP_PROGRAM occurrences, Jim Meyering, 2010/03/19
- Re: [PATCH 0/9] remove most {,E,F}GREP_PROGRAM occurrences, Jim Meyering, 2010/03/22