Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] error opening large file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Monniaux <David.Monniaux@e...>
Subject: Re: [Caml-list] error opening large file
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