summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-22 15:59:29 +0000
committerJim Meyering <jim@meyering.net>2003-09-22 15:59:29 +0000
commit8a0be33fd7cf9b7e2a11ad4a0d093ee4c886ea80 (patch)
treeb9ad486eaf29906836c94c39d81528999d57454b /old
parentafd3a1e0662bc1ec1ccf779f2fbd2562decea519 (diff)
downloadcoreutils-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