Boost logo

Boost Users :

Subject: [Boost-users] boost::input_filter and negative char
From: eial_at_[hidden]
Date: 2010-03-02 15:38:26


hello.
I've seem to found a strange behavior within boost::input_filter, I'm writing data to a file using bzip2 compressor, in this issue all goes well, now when I read the data (I post process the data after the de/compression) because some of the chars are negative, then cases where there are two sequential -1 causes the filter to end processing even if the file isn't at eof.
what can be done to prevent it? should this even happen?

here are the test results: http://www.4shared.com/file/233035989/8bde1629/testresults.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net