]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 3 Mar 2001 19:12:29 +0000 (19:12 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Mar 2001 19:12:29 +0000 (19:12 +0000)
old/textutils/ChangeLog

index dc340ea2b7edf0b15b3eb41f5104ab79d99783e9..cb3d07aeae5a8b118c8ca7f3b6362e351b7e0f20 100644 (file)
@@ -1,3 +1,12 @@
+2001-02-28  Paul Eggert  <eggert@twinsun.com>
+
+       * src/sort.c (xfopen): Set have_read_stdin to 1 only if file is "-".
+       Use fopen_safer, not fopen, to avoid subtle bugs when fopen returns
+       stdin, stdout, or stderr.
+       (xfclose): stdout is no longer a special case.
+       (main): Close output file, don't just flush it; there might be
+       an error on the close.
+
 2001-02-27  Paul Eggert  <eggert@twinsun.com>
 
        * src/sort.c (initbuf): If the desired size cannot be