Re: [PATCH] tar: on extract, -o is --no-same-owner

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] tar: on extract, -o is --no-same-owner

From: Andreas Schwab <hidden>
Date: 2016-06-15 22:47:36

Bernhard Reutner-Fischer [off-list ref] writes:
On Sat, Oct 24, 2009 at 11:49:10AM +0200, Andreas Schwab wrote:
quoted
Bernhard Reutner-Fischer [off-list ref] writes:
quoted
I suppose xf - -o would work?
Isn't that the same as 'xfo -'?
Not really (if you do not permute the arguments which we don't in
busybox, for size reasons).
There is no argument permutation.  The traditional argument parsing of
tar does not cluster option letters with option arguments.

Of course, just using 'xof -' will work around this busybox bug.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Re: [PATCH] tar: on extract, -o is --no-same-owner

From: Denys Vlasenko <hidden>
Date: 2016-06-15 22:47:36

On Saturday 24 October 2009 12:44, Andreas Schwab wrote:
Bernhard Reutner-Fischer [off-list ref] writes:
quoted
On Sat, Oct 24, 2009 at 11:49:10AM +0200, Andreas Schwab wrote:
quoted
Bernhard Reutner-Fischer [off-list ref] writes:
quoted
I suppose xf - -o would work?
Isn't that the same as 'xfo -'?
Not really (if you do not permute the arguments which we don't in
busybox, for size reasons).
There is no argument permutation.  The traditional argument parsing of
tar does not cluster option letters with option arguments.

Of course, just using 'xof -' will work around this busybox bug.
From my side, I prefer to squash that busybox bug.
This is the second time people complain about it,
so it is a reoccurring problem.

The attached patch has been pushed to busybox git.

function                                             old     new   delta
tar_main                                             702     751     +49

--
vda
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help