diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-22 15:59:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-22 15:59:29 +0000 |
commit | 8a0be33fd7cf9b7e2a11ad4a0d093ee4c886ea80 (patch) | |
tree | b9ad486eaf29906836c94c39d81528999d57454b /old | |
parent | afd3a1e0662bc1ec1ccf779f2fbd2562decea519 (diff) | |
download | coreutils-8a0be33fd7cf9b7e2a11ad4a0d093ee4c886ea80.tar.xz |
(check_file): Report error right away if I/O fails,
so that the proper errno value is used.
(check_file): Check for ferror (stdout) even if ostream == stdout.
(check_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".
Diffstat (limited to 'old')
0 files changed, 0 insertions, 0 deletions