[fpc-devel] patch minigzip

Daniël Mantione daniel.mantione at freepascal.org
Thu Sep 7 18:17:55 CEST 2006

Op Thu, 7 Sep 2006, schreef Darius Blaszijk:

> Here's a patch for minigzip. It changes the type of the err variable to
> smallint to make it compile again.
> The compilation of the example.pas file is also broken. But a missing
> zutil.pas and subsequent missing pzByteArray implementation make it impossible
> to fix. Anyone know where to find zutil.pas?

Zutil has been dumped. It provided a wrapper around getmem/freemem with 
the only purpose of storing the length of the allocated memory. This is 
not necessary in FPC.

Just use getmem/freemem.


More information about the fpc-devel mailing list