We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22e2c1 commit e11f199Copy full SHA for e11f199
1 file changed
src/archive/zip.rs
@@ -260,7 +260,8 @@ where
260
io::copy(&mut file, &mut writer)?;
261
}
262
FileType::Directory => {
263
- writer.add_directory(entry_name, default_options)?;
+ // Directory entries have no data and get an invalid size when ZIP64 is forced on
264
+ writer.add_directory(entry_name, default_options.large_file(false))?;
265
266
FileType::Symlink => {
267
let target_path = path.read_link()?;
0 commit comments