diff options
Diffstat (limited to 'test/regex')
-rw-r--r-- | test/regex/Makefile | 9 | ||||
-rw-r--r-- | test/regex/testregex.c | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/test/regex/Makefile b/test/regex/Makefile index ca199bcbb..62a3a6e91 100644 --- a/test/regex/Makefile +++ b/test/regex/Makefile @@ -7,15 +7,6 @@ include ../Test.mak CFLAGS_tst-regex2 := -std=c99 -CFLAGS-OMIT_testregex := -D_GNU_SOURCE -CFLAGS-OMIT_testregexc := -D_GNU_SOURCE -CFLAGS-OMIT_testregexf := -D_GNU_SOURCE -CFLAGS-OMIT_testregexi := -D_GNU_SOURCE -CFLAGS-OMIT_testregexl := -D_GNU_SOURCE -CFLAGS-OMIT_testregexn := -D_GNU_SOURCE -CFLAGS-OMIT_testregexp := -D_GNU_SOURCE -CFLAGS-OMIT_testregexr := -D_GNU_SOURCE - OPTS_testregex := < basic.dat OPTS_testregexc := < categorize.dat OPTS_testregexf := < forcedassoc.dat diff --git a/test/regex/testregex.c b/test/regex/testregex.c index 7b86ab79e..3d953f5d3 100644 --- a/test/regex/testregex.c +++ b/test/regex/testregex.c @@ -985,7 +985,7 @@ gotcha(int sig) } static char* -getline(FILE* fp) +my_getline(FILE* fp) { static char buf[32 * 1024]; @@ -1343,7 +1343,7 @@ main(int argc, char** argv) signal(SIGBUS, gotcha); signal(SIGSEGV, gotcha); } - while (p = getline(fp)) + while (p = my_getline(fp)) { /* parse: */ |