Skip to content

Commit

Permalink
* scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
Browse files Browse the repository at this point in the history
	Reported by H.J. Lu <hongjiu.lu@intel.com>.
  • Loading branch information
Roland McGrath committed Feb 10, 2005
1 parent 0a38b83 commit a078a7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion scripts/lib-names.awk
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a078a7e

Please sign in to comment.