From 19533127701e664536aa1eea65d278dbab0ee97e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 Jan 2001 02:44:19 +0000 Subject: [PATCH] Update. * conform/conformtest.pl (checknamespace): Ignore #undef lines. --- ChangeLog | 2 ++ conform/conformtest.pl | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0310677..ccf5d98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-01-24 Ulrich Drepper + * conform/conformtest.pl (checknamespace): Ignore #undef lines. + * configure.in: Comment out binutils version test. * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 20fdae3..536dbd7 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -22,6 +22,7 @@ $CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=500"; "dlfcn.h", "dirent.h", "ctype.h", "cpio.h", "assert.h", "arpa/inet.h", "aio.h"); +@headers = ("aio.h"); # These are the ISO C99 keywords. @keywords = ('auto', 'break', 'case', 'char', 'const', 'continue', 'default', @@ -214,7 +215,8 @@ sub checknamespace { close (TESTFILE); open (CONTENT, "$CC $CFLAGS -E $fnamebase.c -Wp,-dN | sed -e '/^# [1-9]/d' -e '/^[[:space:]]*\$/d' |"); - while () { + loop: while () { + next loop if (/^#undef /); chop; if (/^#define (.*)/) { $nerrors = newtoken ($1, $nerrors, @allow); -- 2.7.4