Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] How hard would more inlining, more unboxed floats be?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] in_channel_length fails for files longer than max_int

>The pervasive function in_channel_length fails when the file size is
>too large for an int, but it doesn't raise an exception.  The code in
>io.c just checks for lseek errors.  Would a check for end > max_int be
>worthwhile?

Shouldn't all of the file size stuff be converted to int64s now anyway?

Chris


-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr