bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar: Record size = 8 blocks


From: Ondřej Vašík
Subject: Re: [Bug-tar] tar: Record size = 8 blocks
Date: Mon, 02 Mar 2009 16:54:35 +0100

Mads Kiilerich wrote:
> Hi,
> 
> It seems like GNU tar 1.21 emits warnings when "tar -tf -" get 
> unexpected chunk sizes on stdin.
> 
> That causes test failure in the Mercurial test suite.
> 
> A test case (also filed at 
> https://bugzilla.redhat.com/show_bug.cgi?id=487760 ):
> 
> $ cat slowcat.py 
> import sys
> for c in file(sys.argv[1]).read(): sys.stdout.write(c)
> $ python slowcat.py test2.tar | tar tf - > /dev/null
> tar: Record size = 8 blocks
> $
> 
> 
> IMHO that is a regression from 1.20. Can you recommend a patch to 
> restore the silence?

Obviously it is change in behaviour (in tar 1.20 verbose level > 1 was 
required to show that warning message). Attached patch should restore
silence again.

Greetings,
         Ondrej Vasik

Attachment: Record_size.patch
Description: Text Data

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy


reply via email to

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