[fpc-pascal] TZipper from FPC 2.2.2

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Jan 31 21:48:06 CET 2009


While I wait for FPC 2.4, which brings a much better TZipper, I am
trying to use the existing TZipper to create a zip file with the
following structure:


The problem is that it seams that the TZipper from FPC 2.2.2 will
always create a base directory in the archive, is that it? Like, if
the target file is called myfile.zip it will create the archive as:


The base directory makes the OpenDocument become corrupted in the eyes
of OpenOffice.

And I can't use FPC 2.3.1 because users of my library may have 2.2.2
installed ...

Any ideas if it's possible to avoid the base directory with the current TZipper?

Another cool possibility would be having this change merged. Any
chance? I can help testing 2.2.3

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list