id summary reporter owner description type status milestone component version severity resolution keywords cc 5237 filtering_ostream produce incorrect empty files with gzip_compressor and other filters come.raczy@… Jonathan Turkanis "The attached program should produce an empty gzip file, using the gzip_compressor: {{{ int main() { using namespace boost::iostreams; filtering_ostream os; os.push(boost::iostreams::gzip_compressor()); os.push(boost::iostreams::file_sink(""emptyGzipBug.txt.gz"")); } }}} The resulting file is not a gzip file: {{{ $ hexdump emptyGzipBug.txt.gz 0000000 0003 0000002 $ zcat testGzipEmpty.txt.gz zcat: testGzipEmpty.txt.gz: not in gzip format $ }}} A workaround is to manually force an empty write into the stack of components with something like this: {{{ char dummy = 'b'; os.component(0)->write(*os.component(1), &dummy, 0); }}} The problem seems to affect all versions, including Boost 1.46.0 " Bugs closed To Be Determined iostreams Boost 1.60.0 Problem fixed tiwoc@…