about summary refs log tree commit diff
path: root/conform/conformtest.pl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-25 20:05:55 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-25 20:05:55 +0000
commitbec7805d999296000230342f7a8771bbb4001bf1 (patch)
tree46bf3fb7d5d479d234177934b624b0661e03bc5e /conform/conformtest.pl
parente7c3d12bc25e5dae1ca3617097fb3ee867f18855 (diff)
downloadglibc-bec7805d999296000230342f7a8771bbb4001bf1.tar.gz
glibc-bec7805d999296000230342f7a8771bbb4001bf1.tar.xz
glibc-bec7805d999296000230342f7a8771bbb4001bf1.zip
Update.
2001-01-25  Ulrich Drepper  <drepper@redhat.com>

	* conform/conformtest.pl: Handle allow-header in secondary headers
	correctly.

	* conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
	#ifdef.

	* conform/data/netinet/in.h-data: Use correct comment character.
	* conform/data/sys/stat.h-data: Likewise.
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r--conform/conformtest.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 8dde08c11d..810d2632be 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -58,7 +58,8 @@ $errors = 0;
 #$dialect = "POSIX";
 #$dialect = "XPG3";
 #$dialect = "XPG4";
-$dialect = "UNIX98";
+#$dialect = "UNIX98";
+$dialect = "XOPEN2K";
 
 
 sub poorfnmatch {
@@ -780,11 +781,11 @@ while ($#headers >= 0) {
 	push @allow, $4;
       } elsif (/^macro *([^	]*)/) {
 	push @allow, $1;
-      } elsif (/^allow *(.*)/) {
-	push @allow, $1;
       } elsif (/^allow-header *(.*)/) {
 	# XXX We should have a test for recursive dependencies here.
 	push @allowheader, $1;
+      } elsif (/^allow *(.*)/) {
+	push @allow, $1;
       }
     }
     close (ALLOW);