[fpc-devel] zstream, fpc and lazarus
Daniël Mantione
daniel.mantione at freepascal.org
Mon Nov 26 08:18:27 CET 2007
Op Mon, 26 Nov 2007, schreef Paul Ishenin:
> Hello, FPC developers' list.
>
>
> Lazarus crashes with latest fpc (trunk). I found that reason in zstream.
> TDecompressionStream must reset position of Source stream if Seek is called
> with Offset = 0 and Origin = soFromBeginning (according to delphi help).
>
> Attached patch fixes that little problem (hope without adding another).
This patch is not correct because there might still be unread data in the
zlib data buffers; this patch makes no attempt to flush them.
Daniël
More information about the fpc-devel
mailing list