]> Dogcows Code - chaz/tar/commitdiff
(decode_options): Removed superfluous archive format check
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 19 Oct 2003 19:02:03 +0000 (19:02 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 19 Oct 2003 19:02:03 +0000 (19:02 +0000)
src/tar.c

index 1daaf5754ce3f604adafa6940452a461a5d75c12..b648c8f25ba91bc67b5d79b2e7c3c6756611ef31 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -1276,12 +1276,6 @@ see the file named COPYING for details."));
   if (archive_format == GNU_FORMAT && getenv ("POSIXLY_CORRECT"))
     archive_format = POSIX_FORMAT;
 
-  if (((volume_label_option && subcommand_option == CREATE_SUBCOMMAND)
-       || incremental_option || multi_volume_option || sparse_option)
-      && archive_format != OLDGNU_FORMAT && archive_format != GNU_FORMAT)
-    USAGE_ERROR ((0, 0,
-                 _("GNU features wanted on incompatible archive format")));
-
   if (volume_label_option && subcommand_option == CREATE_SUBCOMMAND)
     assert_format (FORMAT_MASK (OLDGNU_FORMAT)
                   | FORMAT_MASK (GNU_FORMAT));
This page took 0.024448 seconds and 4 git commands to generate.