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