From 4bc226bb42c8ec1f32abada7e3b2c49e743ea4bf Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 19 Oct 2003 19:02:03 +0000 Subject: [PATCH] (decode_options): Removed superfluous archive format check --- src/tar.c | 6 ------ 1 file changed, 6 deletions(-) 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)); -- 2.44.0