aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-01-23 12:55:33 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-01-23 12:55:33 +0000
commitcff6778a03af680681e08726e352b735e0202066 (patch)
tree5e7fee892fc2755f941736b930c653afb2f56479 /ide
parent6ad21dfbb88b008526fd7441210df5534eb452ea (diff)
Coqide: limit read buffer size to 4096 (pipe size in win32)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16139 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide')
-rw-r--r--ide/ideutils.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/ideutils.ml b/ide/ideutils.ml
index 8f5417551..1464181f4 100644
--- a/ide/ideutils.ml
+++ b/ide/ideutils.ml
@@ -287,7 +287,7 @@ let stat f =
Note: In a mono-thread coqide, we use the same buffer for
different read operations *)
-let maxread = 8192
+let maxread = 4096
let read_string = String.create maxread
let read_buffer = Buffer.create maxread