-
-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Description
Hello, we're having some issues zipping and unzipping files via a tool using Minizip as the extracted files have incorrect timestamps (1980-00-00 00:00)
Versions
- Working on 4.0.0
- Broken on 4.0.10
API Calls Used:
- zipOpenNewFileInZip and zipOpenNewFileInZip3: Used to add files to the archive, passing a zip_fileinfo struct containing timestamp data in its tmz_date member.
- unzGetCurrentFileInfo64: Used to retrieve file info, including timestamps, from the archive during extraction.
- Also use the unz_file_info64 struct (specifically the tmu_date member) to set the extracted file's modification time on disk.
Relevant Structs:
- zip_fileinfo and its member tmz_date
- unz_file_info64 and its member tmu_date
Thanks!