Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] int overflow and Marshal failure
Date: Fri, 31 Aug 2007 12:47:10 -0400	[thread overview]
Message-ID: <20070831164710.GA24201@stratocaster.home> (raw)
In-Reply-To: <1188577819.7084.21.camel@MATHIAS-ENS>

On Fri, Aug 31, 2007 at 06:30:19PM +0200, Mathias Kende wrote:
> Le jeudi 30 ao??t 2007 ?? 23:47 +0200, Markus E L a ??crit :
> > A check in the Unix library would be nice, in the long run I think
> > using 32bit native integers is absolutely required. 
> 
> I had the same sort of problem with the Unix.stat function and the
> st_size member being an int while it is a 64 bits int on recent systems
> (including some 32 bits one). The maximum size that can be stored on 32
> bits system, 1Go, is much too small for this function.

This one is solved by the Unix.LargeFile sub-module.

-- 
Eric Cooper             e c c @ c m u . e d u


  reply	other threads:[~2007-08-31 16:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 21:47 Unix.getuid() int overflow Markus E L
2007-08-30 22:57 ` [Caml-list] " Markus E L
2007-08-31 16:30 ` [Caml-list] int overflow and Marshal failure Mathias Kende
2007-08-31 16:47   ` Eric Cooper [this message]
2007-08-31 16:49   ` Vincent Hanquez
2007-08-31 17:03   ` Brian Hurt
2007-08-31 18:25   ` Matthieu Dubuget

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070831164710.GA24201@stratocaster.home \
    --to=ecc@cmu.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox