Comment 2 for bug 621130

Revision history for this message
strowger (strowger) wrote :

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$