Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Bug with really_input under cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-09 (22:53)
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 Archives:
Bug reports: FAQ:
Beginner's list: