1 --- glib-1.2.10/gstrfuncs.c.orig 2001-02-27 07:00:22.000000000 +0100
2 +++ glib-1.2.10/gstrfuncs.c 2004-03-01 13:19:49.531603760 +0100
4 /* beware of positional parameters
7 - g_warning (G_GNUC_PRETTY_FUNCTION
8 + g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
9 "(): unable to handle positional parameters (%%n$)");
10 len += 1024; /* try adding some safety padding */
13 /* n . dddddddddddddddddddddddd E +- eeee */
14 conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
15 if (spec.mod_extra_long)
16 - g_warning (G_GNUC_PRETTY_FUNCTION
17 + g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
18 "(): unable to handle long double, collecting double only");
19 #ifdef HAVE_LONG_DOUBLE
20 #error need to implement special handling for long double
25 - g_warning (G_GNUC_PRETTY_FUNCTION
26 + g_warning ("%s%s", G_GNUC_PRETTY_FUNCTION,
27 "(): unable to handle wide char strings");
28 len += 1024; /* try adding some safety padding */
31 conv_len += format - spec_start;
34 - g_warning (G_GNUC_PRETTY_FUNCTION
35 - "(): unable to handle `%c' while parsing format",
37 + g_warning ("%s(): unable to handle `%c' while parsing format",
38 + G_GNUC_PRETTY_FUNCTION, c);
41 conv_done |= conv_len > 0;