id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9749,bzip2_decompressor input filter gives data_error_magic,Balazs Andor Zalanyi ,Jonathan Turkanis,"The bzip2_decompressor input filter is not able to read some bz2 files properly. It can read only the first few lines of the file then terminates with data_error_magic (BZ_DATA_ERROR_MAGIC in bzlib.h). After examining the problematic bz2 files I noticed that the first compressed stream is much shorter (536 bytes long) than the following streams. Debugging lead me to the conclusion that the simmetric_filter class's read method fills the buffer with new data even when the buffer hasn't been consumed completely. With the proposed solution below the files can be read to the end without further problems. The original code segment: {{{ if (status == f_good) status = fill(src); }}} The proposed modification: {{{ if (status == f_good && buf.ptr() == buf.eptr()) status = fill(src); }}} Could someone please make this modification? Regards, Balazs",Bugs,new,To Be Determined,iostreams,Boost 1.55.0,Problem,,bzip2_decompressor,