Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Brian Hurt <bhurt@janestcapital.com>
To: Mathias Kende <mathias@kende.fr>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] int overflow and Marshal failure
Date: Fri, 31 Aug 2007 13:03:46 -0400	[thread overview]
Message-ID: <46D849F2.4050403@janestcapital.com> (raw)
In-Reply-To: <1188577819.7084.21.camel@MATHIAS-ENS>

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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.
>  
>
As a side note, this is why I think the x86 should have gone 64-bit a 
decade ago now (and was saying that then).

Apparently, 2G should be enought for anyone.

Brian


[-- Attachment #2: Type: text/html, Size: 1105 bytes --]

  parent reply	other threads:[~2007-08-31 17:03 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
2007-08-31 16:49   ` Vincent Hanquez
2007-08-31 17:03   ` Brian Hurt [this message]
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=46D849F2.4050403@janestcapital.com \
    --to=bhurt@janestcapital.com \
    --cc=caml-list@inria.fr \
    --cc=mathias@kende.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