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
[ANN] coThreads 0.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] [ANN] coThreads 0.10
skaller wrote:

> But it isn't an errno value that is reported, it is the index
> of the variant that is 12, and that is "Invalid Argument".


> It is not clear that a seek to an invalid position in the file
> is going to succeed. It's also not clear to me that the seek
> argument isn't 32 bits (depends on complex ugly GNU macro
> hackery what type off_t is .. my Caml got built with
> the LARGE_FILE macro thing so it should be 64 bits).

Shouldn't off_t always be 64 bits on a 64 bit CPU? I only see 
this problem on x86-64 and Sys.word_size is 64.

Erik de Castro Lopo
"I run Linux on pretty much everything except the microwave and
washing machine. Those are tempting targets but would probably
make Telsa extremely cross." -- Alan Cox