English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 <viktor.tron.ml@gmail.com>:
> 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"?