From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 0481CBC69 for ; Fri, 31 Aug 2007 00:44:53 +0200 (CEST) Received: from server2.thinkcrime.de (server2.thinkcrime.de [213.133.110.149]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7UMiqe5017923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 31 Aug 2007 00:44:52 +0200 Received: from hod-sarge-2005-10.lan.m-e-leypold.de (dslb-088-072-225-167.pools.arcor-ip.net [88.72.225.167]) (Authenticated sender: hod-sarge-2005-10@server2) by server2.thinkcrime.de (Postfix) with ESMTP id 4655E900260 for ; Fri, 31 Aug 2007 00:44:37 +0200 (CEST) Received: by hod-sarge-2005-10.lan.m-e-leypold.de (Postfix, from userid 1003) id 5C9FCA8F; Fri, 31 Aug 2007 00:57:03 +0200 (CEST) To: caml-list@inria.fr Subject: Re: [Caml-list] Unix.getuid() int overflow References: <6cd4x4ae5k.fsf@hod.lan.m-e-leypold.de> From: Markus E L Organization: N/A Date: Fri, 31 Aug 2007 00:57:03 +0200 In-Reply-To: <6cd4x4ae5k.fsf@hod.lan.m-e-leypold.de> (Markus E. L.'s message of "Thu, 30 Aug 2007 23:47:03 +0200") Message-ID: User-Agent: Some cool user agent (SCUG) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at discorde with ID 46D74864.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; markus:01 markus:01 otherlibs:01 ocaml:01 wrote:01 unix:01 unix:01 ints:01 ints:01 caml-list:01 int:01 overflow:03 typo:05 linux:07 maps:10 Markus E L wrote: > Hi Caml-Riders, > > When reading the sources of otherlibs/unix I saw that the > implementation just maps the result of getuid (and similar calls) to > ints. Remembering that (s) Ocaml has 32bit ints and (b) the Linux ^^^^^ s/32/31/ Stupid typo. Regards -- Markus