Fix bug in firstversions.awk version range handling.

(cherry picked from commit e034841eac)
This commit is contained in:
Chris Metcalf 2012-01-28 12:02:44 -05:00 committed by Carlos O'Donell
parent 6bee67b6cb
commit 60ff996420
3 changed files with 11 additions and 3 deletions

View File

@ -131,6 +131,10 @@
* sysdeps/i386/fpu/feupdateenv.c (__feupdateenv) Invoke __feraiseexcept
instead of feraiseexcept.
2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
* scripts/firstversions.awk: Fix bug in version range handling.
2012-01-26 Ulrich Drepper <drepper@gmail.com>
[BZ #13583]

2
NEWS
View File

@ -10,7 +10,7 @@ Version 2.15.1
* The following bugs are resolved with this release:
411, 2547, 2548, 11365, 11494, 13583, 13731, 13732, 13733, 13747, 13748,
13749, 13753, 13774, 14059
13749, 13753, 13771, 13774, 14059
Version 2.15

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)