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

Re: "format not a string literal" warnings

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 10 Nov 2008 23:26:03 +0000

On Mon, Nov 10, 2008 at 06:35:09AM -0800, Greg Stein wrote:
> When I've turned up the error reporting, I've seen those warnings,
> too. It also happens when we do something like:
> printf(timedate_format, arg1, arg2);
> You can't do much about those. But for constructs like you pointed
> out: definitely, let's add the "%s". It is much safer to use that over
> the lifetime of the code. Who knows where the argument might come from
> next week.



To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-11 00:26:27 CET

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.