]> sourceware.org Git - glibc.git/commitdiff
* scripts/abilist.awk: Avoid strtonum function, not there in mawk.
authorRoland McGrath <roland@gnu.org>
Sun, 24 Nov 2002 01:54:06 +0000 (01:54 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 24 Nov 2002 01:54:06 +0000 (01:54 +0000)
Just produce hex output for datum sizes.

ChangeLog
scripts/abilist.awk

index 9b541214ba2f7d07d3b14f658da7bac738e83f4b..fe7565f65217522e51596254728d03dfdf5f941c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-11-23  Roland McGrath  <roland@redhat.com>
 
+       * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
+       Just produce hex output for datum sizes.
+
        * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
        Reported by Luca Barbieri <ldb@ldb.ods.org>.
 
index cd030e4c9d75fab4d8cae1867d239524cf4f7795..97818344d4f22476a030558391d7d5ff619751b4 100644 (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);
This page took 0.039988 seconds and 5 git commands to generate.