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
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.