pull/13387/head
Dialga 2022-02-07 08:48:43 +13:00 committed by Delyan Angelov
parent 4fbd610bfc
commit 299c2cd93b
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 0 deletions
thirdparty/zip

View File

@ -995,7 +995,9 @@ int zip_entry_open(struct zip_t *zip, const char *entryname) {
local_dir_header_ofs += num_alignment_padding_bytes;
zip->entry.m_time = time(NULL);
#ifndef MINIZ_NO_TIME
mz_zip_time_t_to_dos_time(zip->entry.m_time, &dos_time, &dos_date);
#endif
// ZIP64 header with NULL sizes (sizes will be in the data descriptor, just
// after file data)