1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix bug in firstversions.awk version range handling.

This commit is contained in:
Chris Metcalf
2012-01-28 12:02:44 -05:00
parent 73139a7628
commit e034841eac
2 changed files with 10 additions and 2 deletions

View File

@ -54,9 +54,13 @@ $1 == "}" {
while (vers_compare($1, v) >= 0) {
delete firstversion[thislib, idx[thislib]];
idx[thislib]++;
if ((thislib, idx[thislib]) in firstversion)
if ((thislib, idx[thislib]) in firstversion) {
# If we're skipping a referenced version to jump ahead to a
# later version, synthesize the earlier referenced version now.
if (v != $1 && (thislib, v) in usedversion)
print " " v;
v = firstversion[thislib, idx[thislib]];
else
} else
break;
}
if ($1 == v || $1 == f)