(close_output_file): Don't report bogus errno value
authorJim Meyering <jim@meyering.net>
Tue, 23 Sep 2003 21:57:13 +0000 (21:57 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 23 Sep 2003 21:57:13 +0000 (21:57 +0000)
commit93bf700a948f87b7c243b5ac1ffb06f30fb377be
tree6847170a7600f911af8f1595a212e96f62dd84a2
parenta3f05cf720073b01960be0ea389158937d81801d
(close_output_file): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
src/csplit.c