]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2002-02-06 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Thu, 7 Feb 2002 04:33:51 +0000 (04:33 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 7 Feb 2002 04:33:51 +0000 (04:33 +0000)
* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.

scripts/firstversions.awk

index 7f1c2edf52821ebb29c6b3dd14837704ec9e1701..89bbe5e8716b12a51cd9d39fcb1d0aa99d7bd8ad 100644 (file)
@@ -21,16 +21,19 @@ $1 == "}" {
   next;
 }
 
-{
-  v = firstversion[thislib, idx[thislib]];
+/GLIBC_PRIVATE/ { print; next }
 
-  if (! v)
-    print;
-  else if ($1 == v) {
-    print;
-    firstversion[thislib, idx[thislib]] = 0;
-    idx[thislib]++;
+{
+  if ((thislib, idx[thislib]) in firstversion) {
+    v = firstversion[thislib, idx[thislib]];
+    if ($1 == v) {
+      print;
+      firstversion[thislib, idx[thislib]] = 0;
+      idx[thislib]++;
+    }
+    else
+      print $1, "=", v;
   }
   else
-    print $1, "=", v;
+    print;
 }