Bug fix?
This commit is contained in:
parent
ccd591ab14
commit
cdfe103f94
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ impl<A: Read + Write + Seek> ZipWriter<A> {
|
|||
let mut copy = Vec::with_capacity(compressed_size as usize);
|
||||
reader.read_to_end(&mut copy)?;
|
||||
drop(reader);
|
||||
self.inner.get_plain().seek(SeekFrom::Start(write_position))?;
|
||||
self.start_entry(dest_name, options, Some(raw_values))?;
|
||||
self.writing_to_file = true;
|
||||
self.writing_raw = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue