diff options
author | Jim Meyering <jim@meyering.net> | 1999-07-10 09:56:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-07-10 09:56:37 +0000 |
commit | ae1e1e5e19f4e8f4c7e574772c7d19404a124d52 (patch) | |
tree | c46f59c333ed845ed17e4e855ee4ac6f5f36b2f7 /src/cat.c | |
parent | 647e6ab6445abd43d5e7411b8c01043b0d79b076 (diff) | |
download | coreutils-ae1e1e5e19f4e8f4c7e574772c7d19404a124d52.tar.xz |
(struct File_spec): New member, errnum.
(recheck): Record the new value of errno in f->errnum. Don't
output an error message unless the new value of errno differs from
the old one. Output a message if previously-inaccessible file
becomes accessible.
(tail_forever): Always recheck files whose fd is negative. If the
file cannot be fstat'ed, record the errno value in f[i].errnum.
(tail_file): If the file cannot be open, record the errno value in
f->errnum. If it can be opened, initialize f->errnum to zero. If
it's a non-regular non-fifo file, initialize f->errnum to -1.
Diffstat (limited to 'src/cat.c')
0 files changed, 0 insertions, 0 deletions