1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

* scripts/abilist.awk: Avoid strtonum function, not there in mawk.

Just produce hex output for datum sizes.
This commit is contained in:
Roland McGrath
2002-11-24 01:54:06 +00:00
parent f069a1430a
commit 56c71d451f
2 changed files with 6 additions and 1 deletions

View File

@@ -15,7 +15,9 @@ $2 == "l" { next }
$2 == "g" || $2 == "w" && NF == 7 {
weak = ($2 == "w") ? "weak" : "strong";
type = $3;
size = strtonum("0x" $5);
size = $5;
sub(/^0*/, "", size);
size = "0x" size;
version = $6;
symbol = $7;
gsub(/[()]/, "", version);