From: Lasse Collin <lasse.col...@tukaani.org>

To: xz-devel@tukaani.org 
Sent: Thursday, December 15, 2011 8:43 PM
Subject: Re: [xz-devel] lzma orig file and decompressed file are different.
 
On 2011-12-13 stompdagg...@yahoo.com wrote:
> back to topic, I've taken the pipe decompress example and started
> modifying it, when I got to read from file, decompress and write file
> using c functions it worked but when I changed it to c++ stream
> handling see here: http://dpaste.com/673199/ the output file is
> identical to the original but I get error code 10.
> 
> how is that possible?

I'm not sure. Using in.reasome looks suspicious. You may want to use
in.read and in.gcount instead.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode


yes! problem solved, the code can be viewed at 
http://gitorious.org/open-source-soccer-manager/ossm/blobs/master/src/Utilities/Utils-General.cpp#line240

thanks for the help :)

Reply via email to