mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 23:16:14 +01:00
only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not
2001-12-28 Sven Neumann <sven@gimp.org> * glib/gmessages.c: only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not defined.
This commit is contained in:
parent
4ebdccaac1
commit
5647fea14e
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||||
|
HAVE_C99_VSNPRINTF is not defined.
|
||||||
|
|
||||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||||
|
|
||||||
* configure.in: Added portuguese to ALL_LINGUAS
|
* configure.in: Added portuguese to ALL_LINGUAS
|
||||||
|
@ -71,9 +71,11 @@ struct _GLogHandler
|
|||||||
|
|
||||||
|
|
||||||
/* --- prototypes --- */
|
/* --- prototypes --- */
|
||||||
|
#ifndef HAVE_C99_VSNPRINTF
|
||||||
static gsize printf_string_upper_bound (const gchar *format,
|
static gsize printf_string_upper_bound (const gchar *format,
|
||||||
gboolean may_warn,
|
gboolean may_warn,
|
||||||
va_list args);
|
va_list args);
|
||||||
|
#endif /* !HAVE_C99_VSNPRINTF */
|
||||||
|
|
||||||
|
|
||||||
/* --- variables --- */
|
/* --- variables --- */
|
||||||
@ -860,6 +862,8 @@ g_printerr (const gchar *format,
|
|||||||
# define MB_LEN_MAX 8
|
# define MB_LEN_MAX 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_C99_VSNPRINTF
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
guint min_width;
|
guint min_width;
|
||||||
@ -1168,6 +1172,9 @@ printf_string_upper_bound (const gchar *format,
|
|||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !HAVE_C99_VSNPRINTF */
|
||||||
|
|
||||||
|
|
||||||
gsize
|
gsize
|
||||||
g_printf_string_upper_bound (const gchar *format,
|
g_printf_string_upper_bound (const gchar *format,
|
||||||
va_list args)
|
va_list args)
|
||||||
|
Loading…
Reference in New Issue
Block a user