if (!is_dir) {
if (zip->data_descriptor)
zip->file_info.flag |= MZ_ZIP_FLAG_DATA_DESCRIPTOR;
if (password)
zip->file_info.flag |= MZ_ZIP_FLAG_ENCRYPTED;
}
Those familiar with the code base, is this okay ? I am unsure at the moment if file_info_stream requires these flags to match those pushed to mz_zip_entry_write_header?
Looking at the function: mz_zip_entry_write_open
zip->file_info is copied near the start of the function
But zip->file_info maybe modified later on
Those familiar with the code base, is this okay ? I am unsure at the moment if file_info_stream requires these flags to match those pushed to mz_zip_entry_write_header?