summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--otherlibs/threads/Tests/testio.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/threads/Tests/testio.ml b/otherlibs/threads/Tests/testio.ml
index d6d82d2f6..f6bda60ae 100644
--- a/otherlibs/threads/Tests/testio.ml
+++ b/otherlibs/threads/Tests/testio.ml
@@ -2,8 +2,8 @@
let test msg producer consumer src dst =
print_string msg; print_newline();
- let ic = open_in src in
- let oc = open_out dst in
+ let ic = open_in_bin src in
+ let oc = open_out_bin dst in
let (in_fd, out_fd) = ThreadUnix.pipe() in
let ipipe = ThreadUnix.in_channel_of_descr in_fd in
let opipe = ThreadUnix.out_channel_of_descr out_fd in