diff options
author | Fredrik Gustafsson <[email protected]> | 2012-08-27 11:50:20 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2012-08-27 11:50:20 +0200 |
commit | 7e7e654b9bfd40964af369944f3e496f40d91314 (patch) | |
tree | 95ecfbd42d2ba47f06886cb5bfb2e5e61d22f9fd /lib/stdlib/src/zip.erl | |
parent | 4877acc0598fe257315e8398dc9e11428d757000 (diff) | |
parent | da11eb78dac39940edf4dcfbb47b438493345598 (diff) | |
download | otp-7e7e654b9bfd40964af369944f3e496f40d91314.tar.gz otp-7e7e654b9bfd40964af369944f3e496f40d91314.tar.bz2 otp-7e7e654b9bfd40964af369944f3e496f40d91314.zip |
Merge branch 'pg/fix-zip-multidisk/OTP-10223' into maint
* pg/fix-zip-multidisk/OTP-10223:
Fix bug where zip archives wrongly have a first disk number set to 1
Diffstat (limited to 'lib/stdlib/src/zip.erl')
-rw-r--r-- | lib/stdlib/src/zip.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/zip.erl b/lib/stdlib/src/zip.erl index c82c8159b6..fd480726a7 100644 --- a/lib/stdlib/src/zip.erl +++ b/lib/stdlib/src/zip.erl @@ -1017,7 +1017,7 @@ cd_file_header_from_lh_and_pos(LH, Pos) -> file_name_length = FileNameLength, extra_field_length = ExtraFieldLength, file_comment_length = 0, % FileCommentLength, - disk_num_start = 1, % DiskNumStart, + disk_num_start = 0, % DiskNumStart, internal_attr = 0, % InternalAttr, external_attr = 0, % ExternalAttr, local_header_offset = Pos}. |