|
From: | Connor Behan |
Subject: | Re: [Bug-tar] Issue with tar. Bug file. |
Date: | Sun, 22 Sep 2013 13:50:50 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130806 Thunderbird/17.0.8 |
On 22/09/13 01:24 AM, Pulkit Bhuwalka
wrote:
It looks like open_archive() will succeed for archives that already exist. Even if you're using "create" and not "append". There must be a reason for this. However, there seems to be an easy solution. Instead of calling open_archive() in create_archive(), we could do a one-time call to it in dump_file() after at least one "file_to_be_archived" has been found to exist. There is already an error "Cowardly refusing to create an empty archive" that is given when no members are specified on the command line. The above would be an extension of this to when no *existent* members are specified on the command line.
--
Sent from my Macbook Wheel |
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |