This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Fix versions.awk
- From: Momchil Velikov <velco at fadata dot bg>
- To: libc-alpha at sources dot redhat dot com
- Date: 25 Nov 2002 01:46:28 +0200
- Subject: 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);