aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-08-27 11:50:20 +0200
committerFredrik Gustafsson <[email protected]>2012-08-27 11:50:20 +0200
commit7e7e654b9bfd40964af369944f3e496f40d91314 (patch)
tree95ecfbd42d2ba47f06886cb5bfb2e5e61d22f9fd /lib/stdlib/src
parent4877acc0598fe257315e8398dc9e11428d757000 (diff)
parentda11eb78dac39940edf4dcfbb47b438493345598 (diff)
downloadotp-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')
-rw-r--r--lib/stdlib/src/zip.erl2
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}.