aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-02-07 04:33:51 +0000
committerRoland McGrath <roland@gnu.org>2002-02-07 04:33:51 +0000
commite7a2d9c0a95b2d960c02bf3059594479a410aa20 (patch)
tree2f2b565f9ee8f9a8244cb444c5cf9a908ee7c425 /scripts
parent3fb558781fe9bdad55c25157eaea0531e727ba39 (diff)
downloadglibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.tar
glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.tar.gz
glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.tar.bz2
glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.zip
2002-02-06 Roland McGrath <roland@frob.com>
* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/firstversions.awk21
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/firstversions.awk b/scripts/firstversions.awk
index 7f1c2edf52..89bbe5e871 100644
--- a/scripts/firstversions.awk
+++ b/scripts/firstversions.awk
@@ -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;
}