summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--lib/ChangeLog7
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a13876a5..7c5f30dd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
-2004-11-05 Paul Eggert <eggert@cs.ucla.edu>
+2004-11-06 Jim Meyering <jim@meyering.net>
* Version 5.3.0.
+ * src/sort.c (xfclose): Don't close stdout here (just flush it),
+ since close_stdout now closes stdout unconditionally.
+
+2004-11-05 Paul Eggert <eggert@cs.ucla.edu>
+
* 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
@@ -10,7 +15,7 @@
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.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6834478a6..86c677552 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-06 Jim Meyering <jim@meyering.net>
+
+ Ensure that no close failure goes unreported.
+ * closeout.c (close_stdout): Always close stdout. I.e., don't
+ return early when it seems there's nothing to flush.
+ Don't include __fpending.h.
+
2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
* unsetenv.c: New file, from gnulib. Needed for new getdate.y.