summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
1 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f2a4bb54..0a13876a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,18 @@
-2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
+2004-11-05 Paul Eggert <eggert@cs.ucla.edu>
* Version 5.3.0.
+ * src/sort.c (inittables, sort_buffer_size, getmonth, mergefps,
+ first_same_file, merge, sort, main): Use size_t for indexes into arrays.
+ This fixes some unlikely havoc-wreaking bugs (e.g., more than INT_MAX
+ temporary files).
+ (getmonth, keycompare, compare): Rewrite to avoid need for alloca,
+ thus avoiding unchecked stack overflow in some cases. As a side
+ effect this improve the performance of "sort -M" by a factor of 4
+ on my benchmarks.
+
+2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
+
* src/stty.c: Include "vasprintf.h" since we use vasprintf now.
* src/Makefile.am (check-AUTHORS): Don't assume \? works in a sed