This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, cmetcalf/tile_firstversions, created. glibc-2.15-112-ge034841


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, cmetcalf/tile_firstversions has been created
        at  e034841eac8e96fa255c52864be06352ee7981ae (commit)

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e034841eac8e96fa255c52864be06352ee7981ae

commit e034841eac8e96fa255c52864be06352ee7981ae
Author: Chris Metcalf <cmetcalf@tilera.com>
Date:   Sat Jan 28 12:02:44 2012 -0500

    Fix bug in firstversions.awk version range handling.

diff --git a/ChangeLog b/ChangeLog
index fbc611b..bf484fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* scripts/firstversions.awk: Fix bug in version range handling.
+
 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
 
 	* sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
diff --git a/scripts/firstversions.awk b/scripts/firstversions.awk
index 4a20fc0..ccde4b5 100644
--- a/scripts/firstversions.awk
+++ b/scripts/firstversions.awk
@@ -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)

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]