From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA27130; Sat, 12 Jan 2002 01:02:47 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA27147 for ; Sat, 12 Jan 2002 01:02:42 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0C02fP06018 for ; Sat, 12 Jan 2002 01:02:41 +0100 (MET) Received: from dmi.ens.fr (dmi.ens.fr [129.199.96.11]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g0C02eX47506 ; Sat, 12 Jan 2002 01:02:40 +0100 (CET) Received: from basilic.ens.fr (basilic [129.199.99.48]) by dmi.ens.fr (8.10.1/jb-1.3-180200) id g0C02eb10181 ; Sat, 12 Jan 2002 01:02:40 +0100 (MET) Received: from localhost (monniaux@localhost) by basilic.ens.fr (8.11.0/jb-1.1) id g0C02bc28113 ; Sat, 12 Jan 2002 01:02:37 +0100 (MET) X-Authentication-Warning: basilic.ens.fr: monniaux owned process doing -bs Date: Sat, 12 Jan 2002 01:02:36 +0100 (MET) From: David Monniaux X-Sender: monniaux@basilic.ens.fr To: Moi cc: caml-list@inria.fr Subject: Re: [Caml-list] error opening large file In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, 12 Jan 2002, Florian Douetteau wrote: > The maximal positive integer of type 'int' is about 2.1E9 > I guess the overflow causes the problem. It may be a good idea to have another set of file handling functions using the int64 type for sizes and offsets, using the appropriate 64-bit system library functions. David Monniaux http://www.di.ens.fr/~monniaux Laboratoire d'informatique de l'École Normale Supérieure, Paris, France ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr