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/...
Bruce Evans
brde at optusnet.com.au
Thu Jun 11 01:39:48 UTC 2009
On Wed, 10 Jun 2009, Ed Schouten wrote:
> * Roman Divacky <rdivacky at FreeBSD.org> wrote:
>> you know that it changes the semantic of the check, right? we should
>> implement the checks instead...
>
> 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.
> Clang always allows this, even with printf.
If so, this is a bug in Clang.
Bruce
More information about the svn-src-projects
mailing list