From 7725acc03153c5bfbe26681d1585b8b6600892ae Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 2 Mar 2006 16:41:04 +0000 Subject: Remove CFLAGS-OMIT support, rename getline to get testregex compile w/ -D_GNU_SOURCE --- test/regex/testregex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/regex/testregex.c') 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: */ -- cgit v1.2.3