This is the mail archive of the libc-alpha@sources.redhat.com 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]

Fix versions.awk


The ``tmpfile'' must be sorted for the script to work.

~velco
diff -rudpN libc/tags/initial/scripts/versions.awk libc/trunk/scripts/versions.awk
--- libc/tags/initial/scripts/versions.awk	Sun Nov 24 23:43:17 2002
+++ libc/trunk/scripts/versions.awk	Sun Nov 24 23:33:16 2002
@@ -93,7 +93,7 @@ END {
   oldlib = "";
   oldver = "";
   printf("version-maps =");
-  while (getline < tmpfile) {
+  while ("sort " tmpfile | getline ) {
     if ($1 != oldlib) {
       if (oldlib != "") {
 	closeversion(oldver, veryoldver);

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