Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-01

TZipper from FPC 2.2.2

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

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:

file1
file2
directory/file3

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:

myfile/file1
myfile/file2
myfile/directory/file3

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

thanks,

Felipe Monteiro de Carvalho

Reply by email

Michael Van Canneyt
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 25 lines
Hello, 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: file1 file2 directory/file3 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: myfile/file1 myfile/file2 myfile/directory/file3 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?

No, it's probably definitely a bug...

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

This will not be before 2.2.4. RC1 is already on the FTP server. Only fixes related to the RC will be merged. After the official release, the fix may get merged.

Although 2.2.4 is probably the last 2.2 release.

Michael.

Reply by email

Marco van de Voort
to Michael Van Canneyt

In our previous episode, Michael Van Canneyt said:

Show quoted text 6 lines
This will not be before 2.2.4. RC1 is already on the FTP server. Only fixes related to the RC will be merged. After the official release, the fix may get merged. Although 2.2.4 is probably the last 2.2 release.

Well, I doubt that, since 2.4 is not even feature complete yet. (or I misunderstood something)

Reply by email