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
copy the rest of a file after scanning
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-03-18 (01:33)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] copy the rest of a file after scanning

so much text... not easy to follow you...
...there is no code for "scan"...

...but one sentence was there that might point to the problem...

Zitat von viktor tron <>:
> On my mac and linux, all works smoothly, till I used it on windows.
> 3) does not work on windows, since in_channel_length and seek do not
> take
> into account the newline translations that take
> place at reading.

Did you used "open_in_bin"?