[fpc-devel] patch minigzip

Daniël Mantione daniel.mantione at freepascal.org
Fri Sep 8 11:10:23 CEST 2006



Op Fri, 8 Sep 2006, schreef Jonas Maebe:

> 
> On 8 sep 2006, at 11:03, Jonas Maebe wrote:
> 
> > > > There are no endian conversions at all in the paszlib package,
> > > > which is
> > > > IMHO impossible for correct behaviour but many of these
> > > > constructions. To
> > > > be sure, can you test minigzip on OS X?
> > > 
> > > It works fine (I compressed a file with minigzip and uncompressed it
> > > with gunzip).
> > 
> > Actually, it doesn't: decompressing with minigzip fails.
> 
> It's even stranger: minigzip uncompresses the file fine (created with gzip),
> the result is bytewise identical to the original, yet it complains about a
> "data error".

Perhaps there could be an endian issue in the crc code?

Daniël


More information about the fpc-devel mailing list