Skip to content

Commit

Permalink
Fix bug where zip archives wrongly have a first disk number set to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Jun 18, 2012
1 parent 628d51f commit da11eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib/src/zip.erl
Expand Up @@ -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}.
Expand Down

0 comments on commit da11eb7

Please sign in to comment.