/* * bzip2_t.cpp * * Created on: 17.08.2009 * Author: Gulevich */ #include #include #include int main() { using namespace boost::iostreams; using namespace std; filtering_istream s; file f("../FileListing/filelisting.xml.bz2", ios_base::in | ios_base::binary); // s.imbue(locale("C")); s.push(bzip2_decompressor()); s.push(f); return 0; //The program fails with SEGV here. }