freebsd-dev/usr.bin/tar
Tim Kientzle af2ef563dd 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)
2004-06-07 04:10:43 +00:00
..
bsdtar_platform.h Style: Use single tab after #define 2004-05-02 22:58:18 +00:00
bsdtar.1 The --include='pattern' option is the natural counterpart to 2004-06-07 03:49:48 +00:00
bsdtar.c The --include='pattern' option is the natural counterpart to 2004-06-07 03:49:48 +00:00
bsdtar.h If -b is specified, then force full padding for the last block. 2004-06-07 03:19:57 +00:00
fts.c Include local copies of fts.c and fts.h to be used ONLY on non-FreeBSD 2004-05-04 17:21:01 +00:00
fts.h Include local copies of fts.c and fts.h to be used ONLY on non-FreeBSD 2004-05-04 17:21:01 +00:00
Makefile Pointy hat: sticky bit 't' or 'T' is shown over IXOTH bit, not IXGRP. <sigh> 2004-06-03 23:43:40 +00:00
matching.c Both "foo/" and "foo" should match "foo/bar", so strip 2004-06-02 07:23:54 +00:00
read.c Fix the symlink-detection code. Don't squawk if we're just replacing 2004-06-07 04:10:43 +00:00
util.c Pointy hat: sticky bit 't' or 'T' is shown over IXOTH bit, not IXGRP. <sigh> 2004-06-03 23:43:40 +00:00
write.c Ooops! Previous commit added an over-zealous error check. 2004-06-07 03:38:17 +00:00