cvs commit: src/usr.bin/tar write.c
Colin Percival
cperciva at FreeBSD.org
Thu Mar 15 10:11:38 UTC 2007
cperciva 2007-03-15 10:11:38 UTC
FreeBSD src repository
Modified files:
usr.bin/tar write.c
Log:
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
Revision Changes Path
1.57 +0 -1 src/usr.bin/tar/write.c
More information about the cvs-src
mailing list