Skip to content

Commit

Permalink
Use binary mode to open and get size of /reference files
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
jonahbeckford committed Sep 27, 2024
1 parent 189a434 commit 46cf4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integrated.ml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ let refname name =

let reference name =
if Sys.file_exists name then
let inc = open_in name in
let inc = open_in_bin name in
really_input_string inc (in_channel_length inc)
else
""
Expand Down

0 comments on commit 46cf4a4

Please sign in to comment.