shouldn't tar quit at end of archive?
Rob Landley
rob at landley.net
Fri Mar 31 13:12:20 PST 2006
On Friday 31 March 2006 3:07 pm, Paul Fox wrote:
> one thing i don't understand about the current code is the comment
> regarding emptying the gz or bz2 pipe. when or why would this be
> an issue?
When you go "gunzip thing.gz | tar x" you don't want gunzip() to get an EPIPE
writing to stdout due to the trailing zeroes. Perhaps if tar expects up to
1024k of zeroes, it should read up to 1024k of extra zeroes and then stop?
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list