Browse thread
Unix.getuid() int overflow
-
Markus E L
- Markus E L
-
Mathias Kende
- Eric Cooper
- tab@s...
- Brian Hurt
- Matthieu Dubuget
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Matthieu Dubuget <matthieu.dubuget@g...> |
| Subject: | Re: [Caml-list] int overflow and Marshal failure |
Mathias Kende a écrit : > 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. > I think that the Largefile sub-module solves this problem. Salutations