On Sat, Aug 11, 2012 at 11:41 PM, Pascal Terjan <[email protected]> wrote: > On Sat, Aug 11, 2012 at 11:32 PM, Guillaume Rousse > <[email protected]> wrote: >> Hello list. >> >> While trying to rebuild mod_ruby, I get this error: >> mod_ruby.c:507:5: erreur: le format n'est pas une chaīne littérale et pas >> d'argument de format [-Werror=format-security] >> >> The line 505 is; >> vsnprintf(buf, BUFSIZ, fmt, args); >> >> Apparently, the test fails to recognize the 'fmt' variable as the format... > > Well, it complains that fmt is a variable, which is the point of the > test, so it is not broken > Only constant formats are allowed
Ah no sorry, it should accept a variable when there are arguments.
