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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 86055BC0A for ; Sat, 5 May 2007 17:24:45 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l45FOjHM010274 for ; Sat, 5 May 2007 17:24:45 +0200 Received: by ug-out-1314.google.com with SMTP id k3so721572ugf for ; Sat, 05 May 2007 08:24:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=ot1EryjuX+w7mZerHKNVdMdtn4X2BJhaAbKl4lg34ydpGlD+w6OHl2fDQJ+UQ9q2RpoUxU003YctMbzfqSLR/kfMGe+DW1pYI4mANw7diKKiK7wI3LR0X+jJQN9CkGx+mfEbbj4p7amqFkwTwCaBCKJt0ARxAzQaUEDxJxdstOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=OKr4DPukaeT1OsRLXIfI0EtNFTG/71EHM6VQbZLPJ0DYSLDXYLPmiGM1x7kJ0IHAjJzSjio42PJ8FJcUYOo28Pag6dYqNXL+kLgbakhWhGDm4h96RS7Mq1pzSa08SOD4hJ9qrS3rOufDbSHazKPYlMWoHj4oFj/yvJM/2EMN1Qg= Received: by 10.66.248.5 with SMTP id v5mr3561302ugh.1178378684591; Sat, 05 May 2007 08:24:44 -0700 (PDT) Received: from ?192.168.1.33? ( [83.34.3.221]) by mx.google.com with ESMTP id z40sm4222695ikz.2007.05.05.08.24.43; Sat, 05 May 2007 08:24:43 -0700 (PDT) In-Reply-To: <95513600705050756r49357504v992dd28593159f58@mail.gmail.com> References: <71B2C4B5-3ECB-450F-B015-3C5EAB90855F@gmail.com> <75F71DDF-CACC-4AD9-A3DA-E0049FC9FB2F@gmail.com> <307C6D82-55E3-42AD-B0B1-8C1DFC22394A@gmail.com> <95513600705050756r49357504v992dd28593159f58@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Cc: "OCaml List" Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] Serious bug in the OCaml FFI? Date: Sat, 5 May 2007 16:24:40 +0100 To: Olivier Andrieu X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 463CA1BD.000 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 463CA1BD.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bug:01 ocaml:01 ffi:01 andrieu:01 printf:01 2007,:98 constants:01 unix:01 wrote:01 caml-list:01 stream:04 problem:05 mea:05 olivier:07 apparently:08 On May 5, 2007, at 3:56 PM, Olivier Andrieu wrote: > It doesn't, your printf prints the value of the C constants PF_UNIX > and SOCK_STREAM, which apparently is 1. Yes, mea culpa. The problem turned out to be something else entirely. Thanks, Joel -- http://wagerlabs.com/