summaryrefslogtreecommitdiff
path: root/lib/xstrndup.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-24 08:21:30 +0000
committerJim Meyering <jim@meyering.net>2003-09-24 08:21:30 +0000
commite7bebd6729efc79d0b6d0edb3245096c1d87503f (patch)
treeb9b1600c676377a0130d82a47ea62456fb42a139 /lib/xstrndup.c
parent1790ed9cb852ed68ae67ce1fd610467c4e2d9731 (diff)
downloadcoreutils-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/xstrndup.c')
0 files changed, 0 insertions, 0 deletions