aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/zip.erl
diff options
context:
space:
mode:
authorPaul Guyot <[email protected]>2012-06-18 15:09:37 +0200
committerPaul Guyot <[email protected]>2012-06-18 15:09:37 +0200
commitda11eb78dac39940edf4dcfbb47b438493345598 (patch)
tree1f01190506f2f57c8179faec26d9c805338b2be7 /lib/stdlib/src/zip.erl
parent628d51fd2171cb6e8275f9a16d85300e42e83594 (diff)
downloadotp-da11eb78dac39940edf4dcfbb47b438493345598.tar.gz
otp-da11eb78dac39940edf4dcfbb47b438493345598.tar.bz2
otp-da11eb78dac39940edf4dcfbb47b438493345598.zip
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}.