From: Sergey Poznyakoff Date: Sun, 19 Oct 2003 19:02:03 +0000 (+0000) Subject: (decode_options): Removed superfluous archive format check X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4bc226bb42c8ec1f32abada7e3b2c49e743ea4bf;p=chaz%2Ftar (decode_options): Removed superfluous archive format check --- diff --git a/src/tar.c b/src/tar.c index 1daaf57..b648c8f 100644 --- 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));