From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 3A2DCBC6C for ; Tue, 18 Sep 2007 08:22:54 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKIL70bAXQImn2dsb2JhbACOEAICBwQGBwgYlms X-IronPort-AV: E=Sophos;i="4.20,267,1186351200"; d="scan'208";a="947776" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 18 Sep 2007 08:23:58 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8I6NLJ9018580 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 18 Sep 2007 08:23:22 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADsM70ba1uFinmdsb2JhbACOEAICBwQGDxiWbQ X-IronPort-AV: E=Sophos;i="4.20,267,1186351200"; d="scan'208";a="1338745" Received: from smtp.syd.people.net.au ([218.214.225.98]) by mail2-smtp-roc.national.inria.fr with SMTP; 18 Sep 2007 08:23:52 +0200 Received: (qmail 29430 invoked from network); 18 Sep 2007 06:23:59 -0000 Received: from unknown (HELO hendrix.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 18 Sep 2007 06:23:59 -0000 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 40BD52FB82 for ; Tue, 18 Sep 2007 16:23:48 +1000 (EST) Date: Tue, 18 Sep 2007 16:23:47 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] [ANN] coThreads 0.10 Message-Id: <20070918162347.e04ac421.mle+ocaml@mega-nerd.com> In-Reply-To: <1190095167.22073.54.camel@rosella.wigram> References: <87lkb5fe3f.fsf@pps.jussieu.fr> <20070918121041.6683b111.mle+ocaml@mega-nerd.com> <1190095167.22073.54.camel@rosella.wigram> Reply-To: caml-list@inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 46EF6ED9.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 errno:01 hackery:01 0.10:98 washing:98 wrote:01 caml-list:01 variant:02 alan:02 caml:02 argument:02 argument:02 sys:03 gnu:03 macro:03 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". Ok. > 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 -- ----------------------------------------------------------------- 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