summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
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