diff options
author | cperciva <cperciva@FreeBSD.org> | 2007-03-15 10:11:38 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2007-03-15 10:11:38 +0000 |
commit | 32001bac970022e78123f071dcf4a47851e8664c (patch) | |
tree | 4d0ea6b1dec931c619c4d1e8cf058d610bbb284b /lib/libc | |
parent | addad261ef91418553dcfd218762cfb69ff1a373 (diff) | |
download | FreeBSD-src-32001bac970022e78123f071dcf4a47851e8664c.zip FreeBSD-src-32001bac970022e78123f071dcf4a47851e8664c.tar.gz |
Don't consider an lstat(2) failure to be an error (in the sense of
affecting the return value from bsdtar), since (a) it usually occurs
due to a perfectly innocent (and unavoidable) race condition where a
user deletes a file in the window between bsdtar reading a directory
and attempting to read the file; and (b) aside from printing a warning
message, bsdtar behaves exactly as if the file had been deleted prior
to bsdtar reading its parent directory.
Reviewed by: kientzle
MFC after: 6 days
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions