From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id D85D77ED26 for ; Sat, 9 Jun 2012 21:34:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EANGk00+wCYo3/2dsb2JhbAArGrRagQeCGAEBBUABATYCDwsYCRYPCQMCAQIBRRMGAgKICAMHKaRNhC4BBY4rBosngk6DG4g9jGSBEo5pgmM X-IronPort-AV: E=Sophos;i="4.75,743,1330902000"; d="scan'208";a="147127913" Received: from mail.etorok.net ([176.9.138.55]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 Jun 2012 21:34:25 +0200 Received: from [IPv6:2a02:2f02:1022:e0bf:1e6f:65ff:fe23:db0d] (unknown [IPv6:2a02:2f02:1022:e0bf:1e6f:65ff:fe23:db0d]) by mail.etorok.net (Postfix) with ESMTPSA id 33C8E46B0 for ; Sat, 9 Jun 2012 21:34:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=etorok.net; s=MAILOUT; t=1339270464; bh=XB+Z1xoX7RO39B49UiPYfTnmimCGacqbbbORiL/bMXg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=mTfboVPsFKT5HpsFZ9cgXQjctfbjdp3Y68O4bSP18LTMiq5Ir2k8BgqurSnVMl2jE XyjSoqmh6iiWCP3tuokuq1GDmVgz8/coXEt/93x2bXNW/p4GvUCBmr1AAijzEV5X7Q 4l9Qh4R2eQCvLNu5mndsVszerssG+gKYgNOumCNE= Message-ID: <4FD3A53F.4080407@etorok.net> Date: Sat, 09 Jun 2012 22:34:23 +0300 From: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: caml-list@inria.fr References: <48BE1C34-0459-4E72-AD89-8DABD92CAD5F@inria.fr> <20120609050957.GA25625@yeeloong.happyleptic.org> <20120609170545.GB11065@annexia.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.3 at mail X-Virus-Status: Clean Subject: Re: [Caml-list] Beta release of OCaml 4.00.0 On 06/09/2012 08:19 PM, Gabriel Scherer wrote: > This is related to a segfault in Scanf that was discovered (by > Jianzhou Zhao, on this list) a few months ago : > http://caml.inria.fr/mantis/view.php?id=5380 . The compability break > was also reported previously on mantis : > http://caml.inria.fr/mantis/view.php?id=5605 > > On Sat, Jun 9, 2012 at 7:05 PM, Richard W.M. Jones wrote: >> On Sat, Jun 09, 2012 at 07:09:58AM +0200, rixed@happyleptic.org wrote: >>>> The release of OCaml version 4.00.0 is approaching. We have >>>> created a beta version for your testing pleasure. Please >>>> download the sources, compile, install, and test your favourite >>>> software with it. Then let me know what happened, one way or >>>> the other. >>> >>> The first failure I got is from oUnit setup.ml which attempt to >>> scanf "%S %S@\n", but using the @ after a %S (not %s) does not >>> work the same as in 3.12.1 : it looks for a '@' instead of interpreting >>> it as a scanning indication. >>> The manual says that scanning indications are for %s and %[range], >>> so it seams setup.ml is to blame, though. OASIS 0.3.0~rc6 should have a fix for this, quoting from its CHANGES.txt: " * Version 0.3.0 * EXTREMLY IMPORTANT changes (read this): * Fix bug with scanf %S@\n for ocaml 3.13. We were unfortunetaly using an undocumented tolerance of Scanf in the previous version. You should consider making new release using this version that fixed this." Best regards, --Edwin