tar behavior 9.* -> 10.*

rank1seeker at gmail.com rank1seeker at gmail.com
Thu Oct 30 12:32:34 UTC 2014


On Fri, 24 Oct 2014 10:43:33 -0400
Allan Jude <allanjude at freebsd.org> wrote:

> On 2014-10-24 08:15, rank1seeker at gmail.com wrote:
> > https://forums.freebsd.org/threads/tar-errors-when-file-content-extracted-to-stdout-is-piped.48626/
> > 
> > Bug?
> > _______________________________________________

> What happens if you pipe it to something that doesn't close the pipe
> prematurely
> 
> try:
> 
> tar ... | cat -
> 
> It makes sense that it throws an error when you pipe to head, which
> then closes the pipe before the file has finished being written.
> 

Even in it's "cleanest form" it hangs:
# tar -xOf src.txz usr/src/UPDATING
Outputed complete content immidieatly to STDOUT and then hanged for 56
seconds!

With your code situation is same.

To cut it short, this is a non critical bug fixed in 9.*, aka tar
regression.


More information about the freebsd-hackers mailing list