Skip to content

Commit

Permalink
Merge pull request #41 from jonahbeckford/win32-binary-mode
Browse files Browse the repository at this point in the history
Use binary mode to open and get size of /reference files
  • Loading branch information
Octachron authored Sep 27, 2024
2 parents 8c37f49 + 46cf4a4 commit 64b6fd4
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 @@ -156,7 +156,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 64b6fd4

Please sign in to comment.