[fpc-devel] zstream, fpc and lazarus

Daniël Mantione daniel.mantione at freepascal.org
Sun Dec 2 10:56:44 CET 2007



Op Sun, 2 Dec 2007, schreef Paul Ishenin:

> Daniël Mantione wrote:
> > Okay, that explains it. The memory stream is the only solution to seek in
> > a sane way. Now we could switch to Delphi behaviour, but to be honest, I
> > don't want to enforce the memory stream to everyone who wants to use a
> > compressed stream; it should be usable on plain files.
> > 
> > I'm going to interpret the Delphi docs liberally; "the beginning" is the
> > beginning of the zstream, not the beginning of the file. If you want to
> > reset the source stream, you will have to reset the source stream :) Ok,
> > it is a Delphi incompatibility, but really a corner case, and doing so
> > has many advantages.
> > 
> Ok, if you call this fpc feature then please fix related code at least in fpc
> svn repository. I have no problems with any zstream - I want to have "crash
> free" fpc.

Done, please test if Lazarus works now.

> And btw, why fpc team commited this new code to fixes branch if png reader
> (from the same svn) is still crashing?

We cannot release 2.2.2, for which we are starting first preparations, if 
we don't fix all copyright violations. Therefore, things are merged back 
quickly, we want 2.2 to be clean as well. It was merged too quickly in 
this case, indeed, but we can't wait for months to remove the copyright 
polluted code.

Daniël


More information about the fpc-devel mailing list