]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix spurious conform test failures
authorAndreas Schwab <schwab@suse.de>
Mon, 27 Jul 2015 14:04:40 +0000 (16:04 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 27 Jul 2015 14:13:55 +0000 (16:13 +0200)
ChangeLog
conform/conformtest.pl

index 3e202c4bf99e6ea13da636ba9105d5020c97148b..2ebbeb6f877a134c493cbd0d74a7b041749182e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-27  Andreas Schwab  <schwab@suse.de>
+
+       * conform/conformtest.pl (checknamespace): Filter out string
+       literals while tokenizing.
+
 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
 
        * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
index a8a27f5d2a3af3a35b8eb80f462a34ced0b9524f..cc0944a889dcbdc3770ca0ffdec132d855c0ffd4 100644 (file)
@@ -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);