about summary refs log tree commit diff
path: root/conform/conformtest.pl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-07-27 16:04:40 +0200
committerAndreas Schwab <schwab@suse.de>2015-07-27 16:13:55 +0200
commitfddb87425a25aeb6e937496c4952c9bf3d8bb673 (patch)
tree714cbd3905bdc428ed90abfb53cc34c7e431918f /conform/conformtest.pl
parentae5eae7cfc9c4a8297ff82ec6b794faca1976ecc (diff)
downloadglibc-fddb87425a25aeb6e937496c4952c9bf3d8bb673.tar.gz
glibc-fddb87425a25aeb6e937496c4952c9bf3d8bb673.tar.xz
glibc-fddb87425a25aeb6e937496c4952c9bf3d8bb673.zip
Fix spurious conform test failures
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r--conform/conformtest.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index a8a27f5d2a..cc0944a889 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -275,9 +275,8 @@ sub checknamespace {
     } else {
       # We have to tokenize the line.
       my($str) = $_;
-      my($index) = 0;
-      my($len) = length ($str);
 
+      $str =~ s/"[^"]*"//g;
       foreach $token (split(/[^a-zA-Z0-9_]/, $str)) {
 	if ($token ne "") {
 	  newtoken ($token, @allow);