aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-15 08:48:33 +0100
committerMaxime Dénès2017-11-15 08:48:33 +0100
commit72f9bc46d6df56f8a5d28acbd6c3cfb544cefcb3 (patch)
tree640407a38cc96645a66ccb7754ace80092fdfe22 /ide
parent8d176db01baf9fb4a5e07decb9500ef4a8717e93 (diff)
parent6bd240fce21c172680a0cec5346b66e08c76418a (diff)
Merge PR #6045: [travis] [coq] Complete 4.06.0 support.
Diffstat (limited to 'ide')
-rw-r--r--ide/ideutils.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/ide/ideutils.ml b/ide/ideutils.ml
index 83e5da9509..0977a18906 100644
--- a/ide/ideutils.ml
+++ b/ide/ideutils.ml
@@ -372,8 +372,7 @@ let read_file name buf =
let io_read_all chan =
Buffer.clear read_buffer;
let read_once () =
- (* XXX: Glib.Io must be converted to bytes / -safe-string upstream *)
- let len = Glib.Io.read_chars ~buf:(Bytes.unsafe_to_string read_string) ~pos:0 ~len:maxread chan in
+ let len = Glib.Io.read_chars ~buf:read_string ~pos:0 ~len:maxread chan in
Buffer.add_subbytes read_buffer read_string 0 len
in
begin