bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar bug


From: Phil Dibowitz
Subject: [Bug-tar] tar bug
Date: Tue, 14 Jun 2005 19:13:26 -0700
User-agent: Mutt/1.5.4i

GNU Tar folks:

It appears that if you use the "z" or "j" option to tar in order to gzip or
bzip2, and send the output to stdout, tar tacks on several trailing null
characters.

I.e.:

  tar zcf - somedir/ > /tmp/foo.tar.gz

will not result in the same thing as:

  tar zcf /tmp/foo.tar.gz somedir/

The former will have several extra null characters at the end. gzip will
silently ignore them, while bzip2 will complain about them. Either way, I
suspect they shouldn't be there.

-- 
Phil Dibowitz
Systems Architect and Administrator
Enterprise Infrastructure / ISD / USC
UCC 174 - 213-821-5427

Attachment: pgpHQImL4s2Rv.pgp
Description: PGP signature


reply via email to

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