From: Karl Zilles <zilles@1969.ws>
To: Eric Dahlman <edahlman@atcorp.com>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Bug with really_input under cygwin
Date: Tue, 09 Mar 2004 14:52:31 -0800 [thread overview]
Message-ID: <404E4AAF.6090509@1969.ws> (raw)
In-Reply-To: <51FE3429-7219-11D8-8BF5-000393914EAA@atcorp.com>
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
next prev parent reply other threads:[~2004-03-09 22:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 22:30 Eric Dahlman
2004-03-09 22:52 ` Karl Zilles [this message]
2004-03-10 3:06 ` skaller
2004-03-10 4:10 ` David Brown
2004-03-10 13:14 ` Richard Zidlicky
2004-03-11 4:11 ` skaller
2004-03-11 3:24 ` skaller
2004-03-10 15:25 ` Nuutti Kotivuori
2004-03-11 3:42 ` skaller
2004-03-11 5:02 ` Nuutti Kotivuori
2004-03-11 15:21 ` skaller
2004-03-11 6:32 ` james woodyatt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404E4AAF.6090509@1969.ws \
--to=zilles@1969.ws \
--cc=caml-list@pauillac.inria.fr \
--cc=edahlman@atcorp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox