Boost logo

Boost Users :

From: eg (egoots_at_[hidden])
Date: 2006-12-10 18:20:59


Mathieu Peyréga wrote:
>> What was your test case to demonstrate this?
>
> was something like
>
> short *data = new short[w*h];
>
> for(int index_ligne=0;index_ligne<w;++index_ligne)
> {
> TIFFReadScanline(handler,data+(index_ligne*w), index_ligne);
> }
>
> ofstream file(filename.c_str(), ios_base::out|ios_base::binary);
> filtering_streambuf<output> out;
> out.push(bzip2_compressor());
> out.push(file);
>
> basic_array_source<char> datastream((char*)data,w*h*sizeof(short));
> boost::iostreams::copy(datastream, out);
>

I just glanced at the sources in CVS and it appears that this code is
unchanged in the head revision.

I hope someone who has check-in privileges can look at this and
confirm/apply the patch before 1.34 gets released.


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