bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Bug introduced in tar master for -T option


From: Richard Purdie
Subject: Re: [Bug-tar] Bug introduced in tar master for -T option
Date: Mon, 13 Jul 2015 14:51:35 +0100

On Mon, 2015-07-13 at 11:18 +0100, Richard Purdie wrote:
> dpkg-deb runs commands like:
> 
> "tar -cf - --format=gnu --null --no-unquote -T - --no-recursion"
> 
> however after the addition of:
> http://git.savannah.gnu.org/cgit/tar.git/commit/?id=163e96a0e619a900eab6de827c7c5749ecc9d3f2
> ("Bugfix: entries read from the -T file did not get proper matching_flag.")
> 
> the command doesn't work, only:
> 
> "tar -cf - --format=gnu --null --no-unquote --no-recursion -T -"
> 
> works. I've included a test case below which works before this change
> but not after. The patch is starting to make it into distros like
> Fedora22 and leads to really weird archives (the same files referenced
> multiple times, hardlinked to each other).
> 
> Hopefully this should be easily fixed.

Its been pointed out to me that this change is an intended change in
behaviour to make the recursion option positional which has broken
dpkg-deb.

I'd like to mention the commit message for this change is horrible, it
doesn't explain the real problem, or that there is a behaviour change
which is intended. Might be food for thought for future commit messages.

I'll talk to the dpkg upstream about getting this fixed there.

Cheers,

Richard






reply via email to

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