diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-24 08:21:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-24 08:21:30 +0000 |
commit | e7bebd6729efc79d0b6d0edb3245096c1d87503f (patch) | |
tree | b9b1600c676377a0130d82a47ea62456fb42a139 /lib/xgetcwd.h | |
parent | 1790ed9cb852ed68ae67ce1fd610467c4e2d9731 (diff) | |
download | coreutils-e7bebd6729efc79d0b6d0edb3245096c1d87503f.tar.xz |
(check_and_close, dump, dump_strings): 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".
(skip): If a read fails, don't retry it later, so
that we report the proper errno.
Diffstat (limited to 'lib/xgetcwd.h')
0 files changed, 0 insertions, 0 deletions