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 WAA22770; Fri, 11 Jan 2002 22:02:42 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 WAA24460 for ; Fri, 11 Jan 2002 22:02:41 +0100 (MET) Received: from janus ([192.20.225.224]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g0BL2eP02660 for ; Fri, 11 Jan 2002 22:02:40 +0100 (MET) Received: from ([135.207.30.103]) by janus; Fri, 11 Jan 2002 16:10:39 -0500 (EST) Received: from sprache.sage.att.com (sprache.sage.att.com [135.207.29.235]) by mail-green.research.att.com (Postfix) with ESMTP id F20151E00B for ; Fri, 11 Jan 2002 16:02:37 -0500 (EST) Received: from sage.att.com (kestrel.sage.att.com [135.207.29.159]) by sprache.sage.att.com (980427.SGI.8.8.8/8.8.7) with ESMTP id QAA22010 for ; Fri, 11 Jan 2002 16:02:37 -0500 (EST) Message-ID: <3C3F52ED.2F4B0190@sage.att.com> Date: Fri, 11 Jan 2002 16:02:37 -0500 From: Garry Hodgson Organization: AT&T Labs X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: ocaml Subject: [Caml-list] error opening large file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk i get the following error when i open a large file (2561435180 bytes): let chan = open_in( "com.zone" );; Uncaught exception: Sys_error "com.zone: Value too large for defined data type". is there a 2G file size limitation? if so, why? i found the same bug in erlang, though C is ok with it. this is on redhat 7.1 running ocaml 3.02 thanks -- Garry Hodgson Let my inspiration flow Senior Hacker in token rhyme suggesting rhythm Software Innovation Services that will not forsake me AT&T Labs 'til my tale is told and done. garry@sage.att.com ------------------- 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