Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 14:14:26 +1000
From:      Paul Koch <paul.koch@statscout.com>
To:        stable@freebsd.org
Subject:   tar behaviour changed
Message-ID:  <200309181414.26970.paul.koch@statscout.com>

next in thread | raw e-mail | index | archive | help
Hi,

Observed some behaviour change in tar which caught 
us out.

4.2 / 4.4-Release:
 
 $ tar cfz - . | tar tfz - >/dev/null
 $ echo $?
  0

4.8-Release:

 $ tar cfz - . | tar tfz - >/dev/null

 gzip: stdin: decompression OK, trailing garbage ignored
 tar: Child returned status 2
 tar: Error exit delayed from previous errors

 $ echo $?
 2

Did some searching on google/bsd and PRs but couldn't 
find anything.  Looks like when tar is writing to a pipe,
it pads to a block size ?   Is this normal behaviour now ?

Thanks

	Paul.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309181414.26970.paul.koch>