From 4d8abc53280c687a8771244d49569b401c5bb5ff Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 6 Dec 2001 08:09:23 +0000 Subject: [PATCH] Make sure GLIBC_ versions come first. --- scripts/versions.awk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/versions.awk b/scripts/versions.awk index 64ac2d981bf..1c03fd3c59e 100644 --- a/scripts/versions.awk +++ b/scripts/versions.awk @@ -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; } -- 2.47.2