* scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.

Reported by H.J. Lu <hongjiu.lu@intel.com>.
This commit is contained in:
Roland McGrath 2005-02-10 21:16:55 +00:00
parent 0a38b83521
commit a078a7eecd
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View 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);