summaryrefslogtreecommitdiff
path: root/src/cat.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-07-10 09:56:37 +0000
committerJim Meyering <jim@meyering.net>1999-07-10 09:56:37 +0000
commitae1e1e5e19f4e8f4c7e574772c7d19404a124d52 (patch)
treec46f59c333ed845ed17e4e855ee4ac6f5f36b2f7 /src/cat.c
parent647e6ab6445abd43d5e7411b8c01043b0d79b076 (diff)
downloadcoreutils-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