]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make sure GLIBC_ versions come first.
authorUlrich Drepper <drepper@redhat.com>
Thu, 6 Dec 2001 08:09:23 +0000 (08:09 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 6 Dec 2001 08:09:23 +0000 (08:09 +0000)
scripts/versions.awk

index 64ac2d981bf1aeefd4105581e13114a99dff6ae9..1c03fd3c59e977f8fc8e89065946f573a33fbfdc 100644 (file)
@@ -61,7 +61,10 @@ BEGIN {
 # current library.  This is the only place where we print something to
 # the intermediate file.
 /^   / {
-  printf("%s %s %s\n", actlib, actver, $0) | sort;
+  sortver=actver
+  # Ensure GLIBC_ versions come always first
+  sub(/^GLIBC_/," GLIBC_",sortver)
+  printf("%s %s %s\n", actlib, sortver, $0) | sort;
 }