This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem: redirecting output to stdout corrupts data


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]