Re: [PATCH v6 04/11] test-regex: expose full regcomp() to the command line

2016-02-09 Thread Junio C Hamano
Eric Sunshine writes: > On Fri, Feb 5, 2016 at 9:03 PM, Nguyễn Thái Ngọc Duy > wrote: >> diff --git a/test-regex.c b/test-regex.c >> @@ -21,8 +38,38 @@ static int test_regex_bug(void) >> int main(int argc, char **argv) >> { >> + const char *pat; >> + const char *str; >> + in

Re: [PATCH v6 04/11] test-regex: expose full regcomp() to the command line

2016-02-07 Thread Eric Sunshine
On Fri, Feb 5, 2016 at 9:03 PM, Nguyễn Thái Ngọc Duy wrote: > diff --git a/test-regex.c b/test-regex.c > @@ -21,8 +38,38 @@ static int test_regex_bug(void) > int main(int argc, char **argv) > { > + const char *pat; > + const char *str; > + int flags = 0; > + regex_t r; >

[PATCH v6 04/11] test-regex: expose full regcomp() to the command line

2016-02-05 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- test-regex.c | 51 +-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/test-regex.c b/test-regex.c index 8c51f5a..d1a952c 100644 --- a/test-regex.c +++ b/test-regex.c @@ -1,4 +1,21 @@ #include