Update gnulib

Desktop / GNOME / GLib - Ignacio Casal Quinteiro [gnome.org] - 15 October 2015 07:54 UTC

It updates it to the version c5d07ce91a8ad51591154450442fa4376441fdfa As a difference with upstream we need to ensure:
- Include "g-gnulib.h" so the methods get the gnulib namespace.
- xsize.h uses G_MAXSIZE instead of SIZE_MAX and the methods are marked as static inline.
- Some defines are named different from the ones in glib i.e HAVE_LONG_LONG_INT is HAVE_LONG_LONG

All the unit tests pass properly with and without --enable-included-printf. It has also been tested on Windows.

https://bugzilla.gnome.org/show_bug.cgi?id=756382

212e423 Update gnulib
glib/gnulib/Makefile.am | 2 +
glib/gnulib/printf-args.c | 210 +-
glib/gnulib/printf-args.h | 126 +-
glib/gnulib/printf-parse.c | 1003 ++++---
glib/gnulib/printf-parse.h | 173 +-
glib/gnulib/vasnprintf.c | 6445 +++++++++++++++++++++++++++++++++++++-------
glib/gnulib/vasnprintf.h | 68 +-
glib/gnulib/verify.h | 279 ++
glib/gnulib/xsize.h | 101 +
9 files changed, 6823 insertions(+), 1584 deletions(-)

Upstream: git.gnome.org


  • Share