I'm also seeing this on Lucid amd64, output below; bzcat corrupts data when reading from a pipe?
strowger@beast:~/bztest$ dd if=/dev/urandom of=/tmp/fred bs=1M count=100 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 14.982 s, 7.0 MB/s strowger@beast:~/bztest$ zcat -f < /tmp/fred | bzcat -f > /tmp/jim strowger@beast:~/bztest$ diff /tmp/fred /tmp/jim Binary files /tmp/fred and /tmp/jim differ strowger@beast:~/bztest$ bzcat -f < /tmp/fred | zcat -f > /tmp/jim strowger@beast:~/bztest$ diff /tmp/fred /tmp/jim strowger@beast:~/bztest$ zcat -f < /tmp/fred > /tmp/jim strowger@beast:~/bztest$ diff /tmp/fred /tmp/jim strowger@beast:~/bztest$
I'm also seeing this on Lucid amd64, output below; bzcat corrupts data when reading from a pipe?
strowger@ beast:~ /bztest$ dd if=/dev/urandom of=/tmp/fred bs=1M count=100 beast:~ /bztest$ zcat -f < /tmp/fred | bzcat -f > /tmp/jim beast:~ /bztest$ diff /tmp/fred /tmp/jim beast:~ /bztest$ bzcat -f < /tmp/fred | zcat -f > /tmp/jim beast:~ /bztest$ diff /tmp/fred /tmp/jim beast:~ /bztest$ zcat -f < /tmp/fred > /tmp/jim beast:~ /bztest$ diff /tmp/fred /tmp/jim beast:~ /bztest$
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 14.982 s, 7.0 MB/s
strowger@
strowger@
Binary files /tmp/fred and /tmp/jim differ
strowger@
strowger@
strowger@
strowger@
strowger@