Make the various printf feature test macros reflect the system printf,
authorMatthias Clasen <maclas@gmx.de>
Sat, 4 Oct 2003 23:24:02 +0000 (23:24 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 4 Oct 2003 23:24:02 +0000 (23:24 +0000)
commit9a76ff17c18f3f2704df0a9d7f9466e75f0d1bcc
tree7152b39f53790f7714f15025e60071669f4c4315
parent7fabc62de73432ac069a6417a2bdb60507369e24
Make the various printf feature test macros reflect the system printf,

2003-10-05  Matthias Clasen  <maclas@gmx.de>

* configure.in: Make the various printf feature test macros
reflect the system printf, even when using the included printf.
In particular, don't force HAVE_C99_SNPRINTF, since g-gnulib.h
needs that test result.  (#122973)

* glib/gprintf.c (g_vasprintf): Don't rely on HAVE_VASPRINTF,
directly check for _g_vasprintf.

* glib/gprintfint.h (_g_vasprintf): Only define _g_vasprintf()
if vasprintf() is available.

* glib/gnulib/printf.c (_g_gnulib_vfprintf): Don't write
trailing nul to the file. (#122973)

* acinclude.m4 (AC_FUNC_VSNPRINTF_C99): Make the test
detect non-C99-compliance of AIX 5.1 and Solaris
vsnprintf().  (#122496)
12 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acinclude.m4
configure.in
glib/gnulib/README
glib/gnulib/printf.c
glib/gprintf.c
glib/gprintfint.h