Update.
* conform/conformtest.pl: Handle allow-header correctly. * conform/data/time.h-data: Use correct comment form.
This commit is contained in:
parent
1953312770
commit
d753ffefe5
|
@ -1,5 +1,9 @@
|
||||||
2001-01-24 Ulrich Drepper <drepper@redhat.com>
|
2001-01-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* conform/conformtest.pl: Handle allow-header correctly.
|
||||||
|
|
||||||
|
* conform/data/time.h-data: Use correct comment form.
|
||||||
|
|
||||||
* conform/conformtest.pl (checknamespace): Ignore #undef lines.
|
* conform/conformtest.pl (checknamespace): Ignore #undef lines.
|
||||||
|
|
||||||
* configure.in: Comment out binutils version test.
|
* configure.in: Comment out binutils version test.
|
||||||
|
|
|
@ -22,8 +22,6 @@ $CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=500";
|
||||||
"dlfcn.h", "dirent.h", "ctype.h", "cpio.h", "assert.h",
|
"dlfcn.h", "dirent.h", "ctype.h", "cpio.h", "assert.h",
|
||||||
"arpa/inet.h", "aio.h");
|
"arpa/inet.h", "aio.h");
|
||||||
|
|
||||||
@headers = ("aio.h");
|
|
||||||
|
|
||||||
# These are the ISO C99 keywords.
|
# These are the ISO C99 keywords.
|
||||||
@keywords = ('auto', 'break', 'case', 'char', 'const', 'continue', 'default',
|
@keywords = ('auto', 'break', 'case', 'char', 'const', 'continue', 'default',
|
||||||
'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto',
|
'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto',
|
||||||
|
@ -214,7 +212,7 @@ sub checknamespace {
|
||||||
print TESTFILE "#include <$h>\n";
|
print TESTFILE "#include <$h>\n";
|
||||||
close (TESTFILE);
|
close (TESTFILE);
|
||||||
|
|
||||||
open (CONTENT, "$CC $CFLAGS -E $fnamebase.c -Wp,-dN | sed -e '/^# [1-9]/d' -e '/^[[:space:]]*\$/d' |");
|
open (CONTENT, "$CC $CFLAGS -E $fnamebase.c -P -Wp,-dN | sed -e '/^# [1-9]/d' -e '/^[[:space:]]*\$/d' |");
|
||||||
loop: while (<CONTENT>) {
|
loop: while (<CONTENT>) {
|
||||||
next loop if (/^#undef /);
|
next loop if (/^#undef /);
|
||||||
chop;
|
chop;
|
||||||
|
@ -652,14 +650,14 @@ while ($#headers >= 0) {
|
||||||
|
|
||||||
compiletest ($fnamebase, "Test availability of macro $macro",
|
compiletest ($fnamebase, "Test availability of macro $macro",
|
||||||
"Macro \"$macro\" is not available.", $missing);
|
"Macro \"$macro\" is not available.", $missing);
|
||||||
} elsif (/^allow *(.*)/) {
|
|
||||||
my($pattern) = $1;
|
|
||||||
push @allow, $pattern;
|
|
||||||
next control;
|
|
||||||
} elsif (/^allow-header *(.*)/) {
|
} elsif (/^allow-header *(.*)/) {
|
||||||
my($pattern) = $1;
|
my($pattern) = $1;
|
||||||
push @allowheader, $pattern;
|
push @allowheader, $pattern;
|
||||||
next control;
|
next control;
|
||||||
|
} elsif (/^allow *(.*)/) {
|
||||||
|
my($pattern) = $1;
|
||||||
|
push @allow, $pattern;
|
||||||
|
next control;
|
||||||
} else {
|
} else {
|
||||||
# printf ("line is `%s'\n", $_);
|
# printf ("line is `%s'\n", $_);
|
||||||
next control;
|
next control;
|
||||||
|
@ -708,6 +706,7 @@ while ($#headers >= 0) {
|
||||||
} elsif (/^allow *(.*)/) {
|
} elsif (/^allow *(.*)/) {
|
||||||
push @allow, $1;
|
push @allow, $1;
|
||||||
} elsif (/^allow-header *(.*)/) {
|
} elsif (/^allow-header *(.*)/) {
|
||||||
|
# XXX We should have a test for recursive dependencies here.
|
||||||
push @allowheader, $1;
|
push @allowheader, $1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ function void tzset (void)
|
||||||
|
|
||||||
variable int daylight
|
variable int daylight
|
||||||
variable {long int} timezone
|
variable {long int} timezone
|
||||||
# variable {char*} tzname []
|
// variable {char*} tzname []
|
||||||
|
|
||||||
allow tm_*
|
allow tm_*
|
||||||
allow clock_*
|
allow clock_*
|
||||||
|
|
Loading…
Reference in New Issue