Integrate gnulib vasnprintf().

This commit is contained in:
Matthias Clasen
2003-07-28 23:00:05 +00:00
parent 3389a051da
commit 3c51de64fe
14 changed files with 571 additions and 39 deletions

View File

@@ -1,3 +1,27 @@
2003-07-29 Matthias Clasen <maclas@gmx.de>
Replace trio printf() by gnulib vasnprintf(): (#101874)
* configure.in: Define HAVE_LONG_LONG_FORMAT if system printf understands %llu; rename enable_trio to
enable_included_printf; add misc. tests needed for gnulib vasnprintf(); define G_GINT{16,32,64}_MODIFIER
in glibconfig.h.
* acinclude.m4: Misc tests needed for gnulib vasnprintf(): AC_FUNC_SNPRINTF_C99, bh_C_SIGNED, jm_AC_TYPE_LONG_LONG,
gt_TYPE_LONGDOUBLE, gt_TYPE_WCHAR_T, gt_TYPE_WINT_T, gt_AC_TYPE_INTMAX_T, jm_AC_HEADER_STDINT_H,
jm_AC_HEADER_INTTYPES_H.
* glib/Makefile.am: Replace TRIO_SUBDIR by PRINTF_SUBDIR and trio_libtrio_la by printf_la.
* glib/gprintfint.h: Include gnulib/printf.h and use _g_gnulib_ functions instead of _g_trio_ functions.
* glib/trio/*: Removed
* glib/gnulib/*: vasnprintf() implementation from gnulib, patched to live in the _g_gnulib namespace, use
g_malloc instead of malloc, and support long long printing even if system printf doesn't. For more details,
see glib/gnulib/README.
* tests/printf-test.c: Add tests for 64 bit printing.
2003-07-28 Matthias Clasen <maclas@gmx.de>
* glib/gfileutils.h: