List Archive
Thread
- Re: ZIP_CREATE flag for zip_fdopen issues, (continued)
-
Re: ZIP_CREATE flag for zip_fdopen issues,
Lisa Matias
(2017/01/05 14:37:47)
- Re: ZIP_CREATE flag for zip_fdopen issues, Thomas Klausner (2017/01/08 14:24:36)
- Re: ZIP_CREATE flag for zip_fdopen issues, Lisa Matias (2017/01/08 20:01:59)
- Re: ZIP_CREATE flag for zip_fdopen issues, Thomas Klausner (2017/01/08 20:17:10)
-
Re: ZIP_CREATE flag for zip_fdopen issues,
Lisa Matias
(2017/01/05 14:37:47)
Message
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 descriptor. Then you should be fine. Cheers, Thomas
Made by MHonArc.