Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Andy Yang <yyu08@yahoo.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Wierd behavior of file reading when tried to start an executable in Ocaml code
Date: 04 Oct 2004 22:40:52 +1000	[thread overview]
Message-ID: <1096893651.20680.76.camel@pelican.wigram> (raw)
In-Reply-To: <20041004111325.69884.qmail@web53209.mail.yahoo.com>

On Mon, 2004-10-04 at 21:13, Andy Yang wrote:

>  found that when I start the program from Ocaml
> code, the last several lines of the input file are
> ignored. 

This sounds like a buffering problem. The trailing
lines you are trying to read in the 'executable'
have not been written to disk yet. 

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
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


      parent reply	other threads:[~2004-10-04 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 17:30 [Caml-list] really HO Functions Harrison, John R
2004-10-04 11:13 ` [Caml-list] Wierd behavior of file reading when tried to start an executable in Ocaml code Andy Yang
2004-10-04 11:28   ` Keith Wansbrough
2004-10-04 12:40   ` skaller [this message]

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=1096893651.20680.76.camel@pelican.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=yyu08@yahoo.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