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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 46397BC69 for ; Wed, 8 Nov 2006 12:27:31 +0100 (CET) Received: from mail1.sun.ac.za (mail1.sun.ac.za [146.232.64.12]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id kA8BRPeC032079 for ; Wed, 8 Nov 2006 12:27:30 +0100 Received: from burger.sun.ac.za ([146.232.128.30]) by mail1.sun.ac.za with esmtp (Exim 4.34) id 1GhlaT-00050o-Jb for caml-list@inria.fr; Wed, 08 Nov 2006 13:27:22 +0200 Received: from js by burger.sun.ac.za with local (Exim 4.63) (envelope-from ) id 1GhlaO-0004tM-G5 for caml-list@inria.fr; Wed, 08 Nov 2006 13:27:16 +0200 Date: Wed, 8 Nov 2006 13:27:15 +0200 From: Johann Spies To: caml-list@inria.fr Subject: Re: [Caml-list] Unix.Unix_error (Unix.EOVERFLOW, "lstat", Message-ID: <20061108112715.GB16802@sun.ac.za> Mail-Followup-To: Johann Spies , caml-list@inria.fr References: <20061108101037.GA16802@sun.ac.za> <4551B058.90108@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4551B058.90108@inria.fr> User-Agent: Mutt/1.5.13 (2006-08-11) X-Miltered: at concorde with ID 4551BF1D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; spies:01 jspies:01 lstat:01 0100,:01 largefile:01 integers:01 largefile:01 spies:01 universiteit:01 stellenbosch:01 021:98 unix:01 unix:01 wrote:01 caml-list:01 On Wed, Nov 08, 2006 at 11:24:24AM +0100, Xavier Leroy wrote: > > The Unix.stat-functions use integer for file size. How do I handle > > files which reports sizes bigger than the maximum integer? > > By using the Unix.Largefile.*stat functions, which use 64-bit integers > for file size. Thanks. For some reason I did not see Largefile before. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "And whosoever liveth and believeth in me shall never die. Believest thou this?" John 11:26