List Archive


Thread Index


From: Thomas Klausner <>
To: Lisa Matias <>
Subject: Re: ZIP_CREATE flag for zip_fdopen issues
Date: Sun, 8 Jan 2017 21:17:09 +0100

Hi Lisa!

Please use more of the example in-memory.c.

You missed more than half of it.

Put the zip_file_add calls into the modify_archive function (or the
place where it's called).

Replace get_data with a function that allocates a big enough buffer.

Replace use_data with the code that checks for zero, and later, when
you see it's working, with the code that writes the data to the file

Then you should be fine.


Made by MHonArc.