]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
authorRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 21:16:55 +0000 (21:16 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 21:16:55 +0000 (21:16 +0000)
Reported by H.J. Lu <hongjiu.lu@intel.com>.

ChangeLog
scripts/lib-names.awk

index 6a2a88b0106503da05ce5dd24e7bc57fa5dec868..e5dc1d5003b43890c41ba916d9aa8e6af57033af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-02-10  Roland McGrath  <roland@redhat.com>
 
+       * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
+       Reported by H.J. Lu <hongjiu.lu@intel.com>.
+
        * scripts/lib-names.awk: Always print WORDSIZE32 section first when
        doing two.
 
index 45f043a8a45390539ccd4724ffe569d23ff80764..77e66685156985dc152bbfe447b8a7d0161507d6 100644 (file)
@@ -6,7 +6,7 @@ $1 != "DEFAULT" { multi = 1 }
 {
   lib = $2;
   version = $3;
-  if ($3 ~ /[^0-9]/) {
+  if ($3 !~ /^[0-9]/) {
     soname = $3;
     extra = $3;
     sub(/\.so.*$/, "", extra);