[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1157682 - /subversion/trunk/subversion/svn/status.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 15 Aug 2011 15:09:21 +0200

On Mon, Aug 15, 2011 at 07:18:18AM -0500, Hyrum K Wright wrote:
> Do we do this other places in our code, or does this introduce a new pattern?

We do this in lots of places.

> It *does* introduce new "format not a string literal, argument types
> not checked" warnings at compile-time.

Those warnings are normal. Of course the compiler cannot check argument
types for format strings allocated at runtime.
The format string is returned by gettext().

There are other ways of making sure format directives in translated
strings are valid, see http://svn.haxx.se/dev/archive-2011-08/0136.shtml
Received on 2011-08-15 15:09:55 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.