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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to