cvs commit: src/usr.bin/tar read.c
Tim Kientzle
kientzle at FreeBSD.org
Mon Jun 7 04:10:44 GMT 2004
kientzle 2004-06-07 04:10:43 UTC
FreeBSD src repository
Modified files:
usr.bin/tar read.c
Log:
Fix the symlink-detection code. Don't squawk if we're just replacing
an existing symlink (as might happen if you extract an archive twice).
Also, if we remove the offending link, then we've removed the problem
and can safely go forward with the extraction.
Pointed out by: print/adobe-cmaps port (whose distfile has
duplicate entries for the same symlinks)
Thanks to: Kris Kennaway (for using ports as a testbed for bsdtar)
Revision Changes Path
1.11 +22 -6 src/usr.bin/tar/read.c
More information about the cvs-src
mailing list