problem: redirecting output to stdout corrupts data

Henning Moll newsScott@gmx.de
Mon May 27 11:42:00 GMT 2002


Hi!

Please do the following to reproduce the problem:

tar -czf test1.tar.gz sample.txt

and

tar -czf - sample.txt > test2.tar.gz

The tar.gz files have different size! test2.tar.gz is filled with zeros up
to 10240 bytes, the rest is identical to test1.tar.gz
Is this a bug?

(Opening test2.tar.gz with winzip leads to a warning...)

Best regards
Henning

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list