aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/zip.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-08-27 11:53:49 +0200
committerFredrik Gustafsson <[email protected]>2012-08-27 11:53:49 +0200
commitfd7423d3fc1a32e497084d5c70e2d05792032925 (patch)
treeb8d4dfb7b689823a28353b5ad41f0302360ed281 /lib/stdlib/src/zip.erl
parentc44761ce22e76d9d07241ea5942e4b7e2c7aeb28 (diff)
parentda11eb78dac39940edf4dcfbb47b438493345598 (diff)
downloadotp-fd7423d3fc1a32e497084d5c70e2d05792032925.tar.gz
otp-fd7423d3fc1a32e497084d5c70e2d05792032925.tar.bz2
otp-fd7423d3fc1a32e497084d5c70e2d05792032925.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.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}.