2005-02-10 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 10 Feb 2005 21:16:48 +0000 (21:16 +0000)
committerroland <roland>
Thu, 10 Feb 2005 21:16:48 +0000 (21:16 +0000)
* 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

index 45f043a..77e6668 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);