aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-01-08 11:09:24 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-01-08 11:09:24 +0100
commit9b2a037a119cc80e4402a3c69db23737d21a02d9 (patch)
treed7c36bd3e94d0415247dd7e2cb96cbd00aa46b23 /configure.ml
parent2d6e395dead61a49ede6208bc40e16b4b8e68ce4 (diff)
parent2aeb740de93a0b32efe71bbd3a129e39bc6439e5 (diff)
Merge PR #6501: Document use of ocamldebug from the command line in Cygwin/Windows
Diffstat (limited to 'configure.ml')
-rw-r--r--configure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ml b/configure.ml
index a86b78ba5..34fc78efd 100644
--- a/configure.ml
+++ b/configure.ml
@@ -1056,7 +1056,7 @@ let _ = print_summary ()
let write_dbg_wrapper f =
safe_remove f;
- let o = open_out f in
+ let o = open_out_bin f in (* _bin to avoid adding \r on Cygwin/Windows *)
let pr s = fprintf o s in
pr "#!/bin/sh\n\n";
pr "###### ocamldebug-coq : a wrapper around ocamldebug for Coq ######\n\n";