|
Boost : |
Subject: Re: [boost] [iostreams] 1.41 gzip filter regression
From: Jose (jmalv04_at_[hidden])
Date: 2009-12-05 06:38:32
This function used to work fine in previous releases but doesn't now:
std::string decompress_gzip(const std::string& in)
{
std::string res;
bio::array_source src(in.data(),in.length());
bio::copy(bio::compose(bio::gzip_decompressor(), src),
bio::back_inserter(res));
return res;
}
I get this compile error:
home/code/boost_1_41_0/boost/iostreams/read.hpp:191: error: 'class
boost::iostreams::detail::direct_adapter<boost::iostreams::basic_array_source<char>
>' has no member named 'putback'
On Sat, Dec 5, 2009 at 12:34 PM, Jose <jmalv04_at_[hidden]> wrote:
> My main issue has been ticket 2415, and I'll track down the new issue
> to submit a ticket
>
> 3352 - gzip crc decompression error on x64
> 2557 - gzip with filtering_stream infinite loop
> 2415 - gzip_decompressor does not work with filtering_ostream
> 1896 - gzip_decompressor ignores multiple members
> 1579 - gzip does not model DualUseFilter
> https://svn.boost.org/trac/boost/search?q=gzip&noquickjump=1&ticket=on
>
> On Sat, Dec 5, 2009 at 12:25 PM, Alexander Arhipenko <arhipjan_at_[hidden]> wrote:
>> On Fri, Dec 4, 2009 at 7:20 PM, Schrom, Brian T <brian.schrom_at_[hidden]> wrote:
>>> Not sure if this is the same issue. My student found an issue with x64 bit CRC calcualations when the file length was sufficient that the value needed to roll over. I believe that the patch has been applied to trunk.
>>>
>>
>> Hi, there. Found issue was really related to CRC check on x86_64 platform.
>> The related ticket is #3352 (https://svn.boost.org/trac/boost/ticket/3352)
>> and changeset that resolves the issue is
>> https://svn.boost.org/trac/boost/changeset/57610.
>> After applying this change to 1.41, the regression disappeared.
>>
>> Thanks everybody
>>
>> Regards
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk