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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 5A465BC0A for ; Fri, 25 May 2007 09:36:30 +0200 (CEST) Received: from smeltpunt.science.ru.nl (smeltpunt.science.ru.nl [131.174.16.145]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4P7aTrW008688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 25 May 2007 09:36:30 +0200 Received: from tandem.cs.ru.nl [131.174.142.18] (helo=tandem.cs.ru.nl) by smeltpunt.science.ru.nl (8.13.7/5.11) with ESMTP id l4P7aTad001317 for ; Fri, 25 May 2007 09:36:29 +0200 (MEST) Received: from tews by tandem.cs.ru.nl with local (Exim 4.63) (envelope-from ) id 1HrULj-0006l7-Ah for caml-list@yquem.inria.fr; Fri, 25 May 2007 09:36:35 +0200 From: Hendrik Tews To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] positional specifiers in format strings References: <20070524131457.916E9BC77@yquem.inria.fr> <000901c79e07$6d375150$6a7ba8c0@treble> Date: Fri, 25 May 2007 09:36:35 +0200 In-Reply-To: <000901c79e07$6d375150$6a7ba8c0@treble> (David Allsopp's message of "Thu, 24 May 2007 14:28:32 +0100") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.56 on 131.174.16.145 X-Miltered: at concorde with ID 465691FD.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; hendrik:01 tews:01 tews:01 printf:01 printf:01 bug:01 hendrik:01 char:01 char:01 caml-list:01 writes:01 strings:01 caml:02 caml:02 classified:97 "David Allsopp" writes: > Objective Caml version 3.10.0 > > # Printf.printf "%5$f";; > Bad conversion %$, at char number 0 in format string ``%5$f'' > # Printf.printf "%.*3$f";; > Bad conversion %3, at char number 0 in format string ``%.*3$f'' Positional specifiers aren't new and, sadly, neither's the bug - http://caml.inria.fr/mantis/view.php?id=4204 That's another point where the txt and html documentations diverge: positional specifiers are only in the 3.09 html documentation, but not in the txt version. That's why they got classified as new. Hendrik