From owner-freebsd-arch@FreeBSD.ORG Tue Mar 31 06:46:30 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16BDA1065670; Tue, 31 Mar 2009 06:46:30 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id CC6AC8FC14; Tue, 31 Mar 2009 06:46:29 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 8A79E78CCD; Tue, 31 Mar 2009 06:46:28 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n2V6kRjR096315; Tue, 31 Mar 2009 06:46:28 GMT (envelope-from phk@critter.freebsd.dk) To: Luigi Rizzo From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 31 Mar 2009 08:49:59 +0200." <20090331064959.GA3516@onelab2.iet.unipi.it> Date: Tue, 31 Mar 2009 06:46:27 +0000 Message-ID: <96314.1238481987@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Daniel Eischen , FreeBSD Arch , Tim Kientzle , Marcel Moolenaar Subject: Re: On errno X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 06:46:30 -0000 In message <20090331064959.GA3516@onelab2.iet.unipi.it>, Luigi Rizzo writes: >we are probably digressing but printf in glibc has specifiers to >indicate which argument you want to use for each format. > >http://www.gnu.org/software/hello/manual/libc/Output-Conversion-Syntax.html > >I suppose this takes an extra pass over the format string to collect >the proper type info for all arguments, so it is not >not a dramatic change in the implementation of *printf. Yeah, we have that crap too, and you can see how messy and slow our printf became as a result in SVN. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.