Paul Eggert <[EMAIL PROTECTED]> wrote: > On some operating systems, notices of output errors are sometimes > delayed until you close the file. However, in the normal case > coreutils 'cat' doesn't check the return value from > 'close(STDOUT_FILENO)'. I installed this patch. > > 2005-12-13 Paul Eggert <[EMAIL PROTECTED]> > > * src/cat.c (main): Check for close (STDOUT_FILENO) failure.
Thanks, but why is that needed? I was convinced that the existing `atexit (close_stdout)' covered all the bases, since close_stdout calls `fclose (stdout)' unconditionally, and that does the equivalent of `close (STDOUT_FILENO)'. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
