This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem: redirecting output to stdout corrupts data
- From: Henning Moll <newsScott at gmx dot de>
- To: cygwin at cygwin dot com
- Date: Mon, 27 May 2002 14:03:37 +0200 (MEST)
- Subject: 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/