summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--scripts/versions.awk5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bae9bd320d..a70384b932 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2002-12-01 Roland McGrath <roland@redhat.com>
+ * scripts/versions.awk: Don't pass -n flag to sort command.
+
* posix/bug-regex13.c: Include <string.h>.
* sysdeps/generic/libc-start.c (__libc_start_main): Do
diff --git a/scripts/versions.awk b/scripts/versions.awk
index 785380a8ed..7e33387d41 100644
--- a/scripts/versions.awk
+++ b/scripts/versions.awk
@@ -26,7 +26,10 @@ BEGIN {
close(defsfile);
tmpfile = buildroot "Versions.tmp";
- sort = "sort -n > " tmpfile;
+ # Note this sorting presumes only single digits between dots for proper
+ # numeric ordering. sort -n doesn't do quite the right thing either,
+ # and in some non-GNU sort implementations does not sort at all.
+ sort = "sort > " tmpfile;
}
# Remove comment lines.