bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] [PATCH] low-prio - deadcode causing inability to use --pax-opt


From: Pavel Raiskup
Subject: [Bug-tar] [PATCH] low-prio - deadcode causing inability to use --pax-option
Date: Tue, 07 Aug 2012 01:21:36 +0200

Hello,

please, could you consider applying the attached patch?  The problem is
when tar is invoked with --format option, such that:

  (format != posix && format != default)

In such case it is impossible to change file attributes while
extracting/listing by --pax-option, e.g.:

  tar --format=gnu --pax-option="mtime:={now}" -xvf test.tar

Note:  I tried to prepare macro in src/common.h rather then fixing it
directly in src/tar.c, because I'd like to reuse this macro later on (if
possible) in extended attributes proposal.

Pavel

Attachment: deadcode.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]