From: Roland McGrath Date: Thu, 10 Feb 2005 21:16:55 +0000 (+0000) Subject: * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. X-Git-Tag: upstream/2.30~16907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a078a7eecdcfdbc73280f5ed71a660b7c7b0d392;p=external%2Fglibc.git * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. Reported by H.J. Lu . --- diff --git a/ChangeLog b/ChangeLog index 6a2a88b..e5dc1d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-10 Roland McGrath + * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+. + Reported by H.J. Lu . + * scripts/lib-names.awk: Always print WORDSIZE32 section first when doing two. diff --git a/scripts/lib-names.awk b/scripts/lib-names.awk index 45f043a..77e6668 100644 --- a/scripts/lib-names.awk +++ b/scripts/lib-names.awk @@ -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);