diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-13 09:08:12 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-13 09:08:12 +0000 |
commit | 63739730dd57ce4f5eeb22e82187cf20af7f7e90 (patch) | |
tree | 5ca1b6c124a27ca1d5e97565bac88c354bd55014 /otherlibs/labltk/browser/shell.ml | |
parent | 79b3768de746b033c09899b09c8ac02473b13642 (diff) |
Win32: strict labels, and labltk dynload
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3760 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/shell.ml')
-rw-r--r-- | otherlibs/labltk/browser/shell.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/browser/shell.ml b/otherlibs/labltk/browser/shell.ml index a0dcf2a05..b157a960d 100644 --- a/otherlibs/labltk/browser/shell.ml +++ b/otherlibs/labltk/browser/shell.ml @@ -196,7 +196,7 @@ object (self) let fileinput_thread fd = let buf = String.create 1024 in let len = ref 0 in - try while len := ThreadUnix.read fd ~buf ~pos:0 ~len:1024; !len > 0 do + try while len := Unix.read fd ~buf ~pos:0 ~len:1024; !len > 0 do Mutex.lock imutex; Buffer.add_substring ibuffer buf 0 !len; Mutex.unlock imutex |