]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Handle "symbol" lines for allow-header.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 1 May 2012 19:58:06 +0000 (19:58 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 1 May 2012 19:58:06 +0000 (19:58 +0000)
ChangeLog
conform/conformtest.pl

index a6f53c1076c276b0c7342cc12cd0b2d1b4753dbe..286f58be4219c97ec9acc2cfd707e1436419ee7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
 
+       * conform/conformtest.pl: Handle "symbol" lines for allow-header.
+
        * Makeconfig (localtime): Remove variable.
        (inst_localtime-file): Likewise.
 
index 8b951867cc5c02a8110dcadcb4ef9571689e65fe..a14aa09eeb3b723b9906cfa4779b8ca30dc1216e 100644 (file)
@@ -1075,6 +1075,8 @@ while ($#headers >= 0) {
        push @allow, $4;
       } elsif (/^macro *([^    ]*)/) {
        push @allow, $1;
+      } elsif (/^symbol *([a-zA-Z0-9_]*) *([A-Za-z0-9_-]*)?/) {
+       push @allow, $1;
       } elsif (/^allow-header *(.*)/) {
        if ($seenheader{$1} != 1) {
          push @allowheader, $1;