summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-24 01:54:06 +0000
committerRoland McGrath <roland@gnu.org>2002-11-24 01:54:06 +0000
commit56c71d451fbec9e02ffdadefd7a2272d04e19ada (patch)
treef07274adf022fa662523a6026c88b618cbf2f87c /scripts
parentf069a1430a88319d296dacc04354be7e32ab579f (diff)
downloadglibc-56c71d451fbec9e02ffdadefd7a2272d04e19ada.tar.gz
glibc-56c71d451fbec9e02ffdadefd7a2272d04e19ada.tar.xz
glibc-56c71d451fbec9e02ffdadefd7a2272d04e19ada.zip
* scripts/abilist.awk: Avoid strtonum function, not there in mawk.
	Just produce hex output for datum sizes.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/abilist.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/abilist.awk b/scripts/abilist.awk
index cd030e4c9d..97818344d4 100644
--- a/scripts/abilist.awk
+++ b/scripts/abilist.awk
@@ -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);