Browse thread
[Caml-list] Bug with really_input under cygwin
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Karl Zilles <zilles@1...> |
| Subject: | Re: [Caml-list] Bug with really_input under cygwin |
Eric Dahlman wrote: > This function works fine under Unix but will fail under Cygwin. I have > tried to use set_binary_mode_* to see if that would help but it did not > alter the the results. So that leaves me with a couple of questions: Use open_in_bin to avoid translation of line endings. Of course, your string will then contain \r\n after each line, but this may be ok for you. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners