diff options
author | Roland McGrath <roland@gnu.org> | 2002-02-07 04:33:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-02-07 04:33:51 +0000 |
commit | e7a2d9c0a95b2d960c02bf3059594479a410aa20 (patch) | |
tree | 2f2b565f9ee8f9a8244cb444c5cf9a908ee7c425 /scripts | |
parent | 3fb558781fe9bdad55c25157eaea0531e727ba39 (diff) | |
download | glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.zip glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.tar.gz glibc-e7a2d9c0a95b2d960c02bf3059594479a410aa20.tar.bz2 |
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.awk | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/firstversions.awk b/scripts/firstversions.awk index 7f1c2ed..89bbe5e 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; } |