]> sourceware.org Git - glibc.git/commitdiff
* scripts/versions.awk: Don't pass -n flag to sort command.
authorRoland McGrath <roland@gnu.org>
Mon, 2 Dec 2002 06:31:28 +0000 (06:31 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 2 Dec 2002 06:31:28 +0000 (06:31 +0000)
ChangeLog
scripts/versions.awk

index bae9bd320de11553fa6c9ea150e16191733826aa..a70384b932ae3dd577159ae12810e44ec889d774 100644 (file)
--- 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
index 785380a8edb9b3555dfc29f20d13608dcf1b60ea..7e33387d41a304b79b3ad65ac7c168ba3e373794 100644 (file)
@@ -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.
This page took 0.041674 seconds and 5 git commands to generate.