From owner-svn-src-projects@FreeBSD.ORG  Thu Jun 11 06:54:55 2009
Return-Path: <owner-svn-src-projects@FreeBSD.ORG>
Delivered-To: svn-src-projects@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4251B106567F;
	Thu, 11 Jun 2009 06:54:55 +0000 (UTC) (envelope-from ed@hoeg.nl)
Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211])
	by mx1.freebsd.org (Postfix) with ESMTP id D077A8FC24;
	Thu, 11 Jun 2009 06:54:54 +0000 (UTC) (envelope-from ed@hoeg.nl)
Received: by palm.hoeg.nl (Postfix, from userid 1000)
	id 55C981CD8A; Thu, 11 Jun 2009 08:54:52 +0200 (CEST)
Date: Thu, 11 Jun 2009 08:54:52 +0200
From: Ed Schouten <ed@80386.nl>
To: Bruce Evans <brde@optusnet.com.au>
Message-ID: <20090611065451.GR48776@hoeg.nl>
References: <200906082105.n58L5TsI043469@svn.freebsd.org>
	<20090610104029.GA18940@freebsd.org>
	<20090610104854.GN48776@hoeg.nl>
	<20090611113543.E21054@delplex.bde.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="SHs8gxXfwr6H9vII"
Content-Disposition: inline
In-Reply-To: <20090611113543.E21054@delplex.bde.org>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: svn-src-projects@FreeBSD.org, Roman Divacky <rdivacky@FreeBSD.org>,
	src-committers@FreeBSD.org
Subject: Re: svn commit: r193755 - in projects/clangbsd: . bin/df bin/sh
	cddl/contrib/opensolaris/lib/libzfs/common contrib/llvm
	contrib/llvm/autoconf contrib/llvm/cmake contrib/llvm/cmake/modules
	contrib/llvm/...
X-BeenThere: svn-src-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "SVN commit messages for the src &quot; projects&quot;
	tree" <svn-src-projects.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
	<mailto:svn-src-projects-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-projects>
List-Post: <mailto:svn-src-projects@freebsd.org>
List-Help: <mailto:svn-src-projects-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
	<mailto:svn-src-projects-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2009 06:54:55 -0000


--SHs8gxXfwr6H9vII
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Bruce,

* Bruce Evans <brde@optusnet.com.au> wrote:
> On Wed, 10 Jun 2009, Ed Schouten wrote:
>> No, it doesn't. printf0 is just printf, but it allows fmt to be NULL.
>
> No it isn't.  printf is just printf0, except it doesn't allow fmt to
> be NULL.  FreeBSD extended printf to printf0, to support functions like
> err() where a NULL format is valid.

Aren't you saying exactly the same thing as what I did?

>> Clang always allows this, even with printf.
>
> If so, this is a bug in Clang.

I'm not calling it a bug. I'm calling it a missing feature of a GNU
extension. For the time being, this solution is sufficient. The clangbsd
branch isn't yet supposed to be pretty...

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--SHs8gxXfwr6H9vII
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkowqjsACgkQ52SDGA2eCwUgFQCcCkd26t2gzQuQQ7uBUqccrsVs
KuwAniEIjThSNIJpUiUJ6koEdpNElBJ2
=uiBd
-----END PGP SIGNATURE-----

--SHs8gxXfwr6H9vII--