summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-15 07:16:44 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-15 07:16:44 +0000
commit60240199d88180cd515f110185edaaa22d968cb2 (patch)
tree3796af256b58c3a7e5cca53b7d5110366058f7c4 /usr.bin/tar
parentd163cf79391e8e089d067bacd07aeb71bcd981b1 (diff)
downloadFreeBSD-src-60240199d88180cd515f110185edaaa22d968cb2.zip
FreeBSD-src-60240199d88180cd515f110185edaaa22d968cb2.tar.gz
Update some internal comments about the --no-same-permissions option.
Thanks to: Kris Kennaway for doing some gtar research for me.
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/bsdtar.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index 8e199fd..477e5a0 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -270,7 +270,12 @@ main(int argc, char **argv)
#endif
#ifdef HAVE_GETOPT_LONG
case OPTION_NO_SAME_PERMISSIONS: /* GNU tar */
- /* XXX This appears to be a no-op in GNU tar? XXX */
+ /*
+ * This is always the default in FreeBSD's
+ * version of GNU tar; it's also the default
+ * behavior for bsdtar, so treat the
+ * command-line option as a no-op.
+ */
break;
#endif
case 'O': /* GNU tar */
OpenPOWER on IntegriCloud