Re: [Caml-list] Problem with un-flushed output getting mangled

2011-10-03 Thread Taylor Venable
On Mon, Oct 3, 2011 at 15:00, Pierre Chopin wrote: > 2011/9/29 Taylor Venable >> >> Hi there, I'm having a problem with some code I've written. The gist >> of my program (whose code I unfortunately cannot share at this time, >> I'll have to get approval first) is this: >> >> 1. Read elements from

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-10-03 Thread Pierre Chopin
Hi 2011/9/29 Taylor Venable > Hi there, I'm having a problem with some code I've written. The gist > of my program (whose code I unfortunately cannot share at this time, > I'll have to get approval first) is this: > > 1. Read elements from an XML file and turn them into objects. > 2. Place these

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-10-03 Thread Taylor Venable
2011/10/1 Török Edwin : > On 10/01/2011 04:55 AM, Taylor Venable wrote: >> On Fri, Sep 30, 2011 at 05:45, Jerome Vouillon >> wrote: >>> On Thu, Sep 29, 2011 at 08:00:47PM -0400, Taylor Venable wrote: My trouble is this: if I fail to call flush on the output channels in step #4, I get ma

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-10-02 Thread Tiphaine Turpin
Le 30/09/2011 02:00, Taylor Venable a écrit : > B. Although I link to Batteries (version 1.4.1) I don't use its IO > layer. If so, then my experience is probably irrelevant. But sometimes with batteries there are "implicit" things. A long time ago I had a problem which looked similar (output seemed

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-10-01 Thread Török Edwin
On 10/01/2011 04:55 AM, Taylor Venable wrote: > On Fri, Sep 30, 2011 at 05:45, Jerome Vouillon > wrote: >> On Thu, Sep 29, 2011 at 08:00:47PM -0400, Taylor Venable wrote: >>> My trouble is this: if I fail to call flush on the output channels in >>> step #4, I get mangled output. By mangled I mean

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-09-30 Thread Taylor Venable
On Fri, Sep 30, 2011 at 05:45, Jerome Vouillon wrote: > On Thu, Sep 29, 2011 at 08:00:47PM -0400, Taylor Venable wrote: >> My trouble is this: if I fail to call flush on the output channels in >> step #4, I get mangled output. By mangled I mean that in the middle of >> one line, suddenly the data

Re: [Caml-list] Problem with un-flushed output getting mangled

2011-09-30 Thread Jerome Vouillon
Hello, On Thu, Sep 29, 2011 at 08:00:47PM -0400, Taylor Venable wrote: > My trouble is this: if I fail to call flush on the output channels in > step #4, I get mangled output. By mangled I mean that in the middle of > one line, suddenly the data from another line appears. The other line > exists e

[Caml-list] Problem with un-flushed output getting mangled

2011-09-29 Thread Taylor Venable
Hi there, I'm having a problem with some code I've written. The gist of my program (whose code I unfortunately cannot share at this time, I'll have to get approval first) is this: 1. Read elements from an XML file and turn them into objects. 2. Place these objects into hash tables. 3. Do some stuf