From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-August/018064.html | 124 +++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-August/018064.html (limited to 'zarb-ml/mageia-dev/2012-August/018064.html') diff --git a/zarb-ml/mageia-dev/2012-August/018064.html b/zarb-ml/mageia-dev/2012-August/018064.html new file mode 100644 index 000000000..a26165474 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/018064.html @@ -0,0 +1,124 @@ + + + + [Mageia-dev] broken format-error test ? + + + + + + + + + +

[Mageia-dev] broken format-error test ?

+ Pascal Terjan + pterjan at gmail.com +
+ Sun Aug 12 00:45:48 CEST 2012 +

+
+ +
On Sat, Aug 11, 2012 at 11:41 PM, Pascal Terjan <pterjan at gmail.com> wrote:
+> On Sat, Aug 11, 2012 at 11:32 PM, Guillaume Rousse
+> <guillomovitch at gmail.com> 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.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1