Skip to content

Commit

Permalink
Fix use of camlzip in byteweight
Browse files Browse the repository at this point in the history
  • Loading branch information
bmourad01 committed Jul 29, 2024
1 parent 95e8173 commit 97c3c03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/bap_byteweight/bap_byteweight_signatures.ml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ let update_or_fail ?compiler target data payload path =
let path = make_entry ?compiler target data in
let data = Bytes.unsafe_to_string (data.save payload) in
Zip.add_entry data zip path;
List.iter entries ~f:(fun ({Zip.filename; extra; comment; mtime},data) ->
Zip.add_entry data zip filename
~extra ~comment ~mtime)
List.iter entries ~f:(fun ({Zip.filename; comment; mtime},data) ->
Zip.add_entry data zip filename ~comment ~mtime)

let copy input output =
let len = 0x1000 in
Expand Down

0 comments on commit 97c3c03

Please sign in to comment.