summaryrefslogtreecommitdiff
path: root/gettext-runtime/libasprintf
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-12-28 00:06:36 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-12-28 00:06:36 +0000
commit6eb5949dd99d174393465069c2fd0bab32deddcc (patch)
treed104f72ac2dcb0f592b1c8e06a5af6790bd4080c /gettext-runtime/libasprintf
parent482840e61f86ca321838a91e902c41d40c098bbb (diff)
downloadgettext-tarball-6eb5949dd99d174393465069c2fd0bab32deddcc.tar.gz
gettext-0.19.7gettext-0.19.7
Diffstat (limited to 'gettext-runtime/libasprintf')
-rw-r--r--gettext-runtime/libasprintf/ChangeLog1379
-rw-r--r--gettext-runtime/libasprintf/ChangeLog.01384
-rw-r--r--gettext-runtime/libasprintf/Makefile.am3
-rw-r--r--gettext-runtime/libasprintf/Makefile.gnulib4
-rw-r--r--gettext-runtime/libasprintf/Makefile.in79
-rw-r--r--gettext-runtime/libasprintf/aclocal.m4125
-rw-r--r--gettext-runtime/libasprintf/alloca.in.h3
-rw-r--r--gettext-runtime/libasprintf/asnprintf.c2
-rw-r--r--gettext-runtime/libasprintf/asprintf.c3
-rw-r--r--gettext-runtime/libasprintf/autosprintf.cc2
-rw-r--r--gettext-runtime/libasprintf/autosprintf.in.h2
-rw-r--r--gettext-runtime/libasprintf/autosprintf.info10
-rw-r--r--gettext-runtime/libasprintf/autosprintf.texi2
-rw-r--r--gettext-runtime/libasprintf/autosprintf_all.html2
-rw-r--r--gettext-runtime/libasprintf/config.h.in5
-rwxr-xr-xgettext-runtime/libasprintf/configure484
-rw-r--r--gettext-runtime/libasprintf/configure.ac2
-rw-r--r--gettext-runtime/libasprintf/errno.in.h2
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/00gnulib.m42
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/absolute-header.m42
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/alloca.m43
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/errno_h.m42
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/gnulib-cache.m44
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/gnulib-common.m445
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/gnulib-comp.m45
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/include_next.m42
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/intmax_t.m42
-rw-r--r--gettext-runtime/libasprintf/gnulib-m4/onceonly.m42
-rw-r--r--gettext-runtime/libasprintf/lib-asprintf.c2
-rw-r--r--gettext-runtime/libasprintf/lib-asprintf.h2
-rw-r--r--gettext-runtime/libasprintf/printf-args.c3
-rw-r--r--gettext-runtime/libasprintf/printf-args.h3
-rw-r--r--gettext-runtime/libasprintf/printf-parse.c3
-rw-r--r--gettext-runtime/libasprintf/printf-parse.h3
-rw-r--r--gettext-runtime/libasprintf/size_max.h2
-rwxr-xr-xgettext-runtime/libasprintf/texi2html4
-rw-r--r--gettext-runtime/libasprintf/vasnprintf.c25
-rw-r--r--gettext-runtime/libasprintf/vasnprintf.h2
-rw-r--r--gettext-runtime/libasprintf/vasprintf.c3
-rw-r--r--gettext-runtime/libasprintf/vasprintf.h2
-rw-r--r--gettext-runtime/libasprintf/verify.h2
-rw-r--r--gettext-runtime/libasprintf/xsize.h2
42 files changed, 2024 insertions, 1596 deletions
diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog
index 55a2d29..5aa6d30 100644
--- a/gettext-runtime/libasprintf/ChangeLog
+++ b/gettext-runtime/libasprintf/ChangeLog
@@ -1,1368 +1,11 @@
-2014-12-24 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19.4 released.
-
-2014-10-15 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19.3 released.
-
-2014-09-30 Daiki Ueno <ueno@gnu.org>
-
- * vasnprintf.c: Update from Gnulib.
-
-2014-07-14 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19.2 released.
-
-2014-06-10 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19.1 released.
-
-2014-06-02 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19 released.
-
-2013-06-10 Daiki Ueno <ueno@gnu.org>
-
- * Makefile.am: Use $(MKDIR_P) instead of $(mkdir_p).
- Suggested by Stefano Lattarini in
- <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00044.html>.
-
-2013-03-07 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
-
- Fix '__attribute__' definition.
- Reported at <https://savannah.gnu.org/bugs/?35313>
- * autosprintf.in.h (_AUTOSPRINTF_ATTRIBUTE_FORMAT): New macro
- instead of redefine __attribute__.
-
-2013-03-04 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
-
- Add 'autosprintf::operator='. Needed because destructor
- is not trivial.
- Reported at <https://savannah.gnu.org/bugs/?33102>
- * autosprintf.in.h (autosprintf::operator=): New function.
- Thanks to Daiki Ueno for pointing a better copy-and-swap
- idiom use.
- * autosprintf.cc (autosprintf::operator=): Likewise.
-
-2013-01-17 Daiki Ueno <ueno@gnu.org>
-
- Fix link errors related to C99-style extern inline.
- Reported by Sam Thursfield <sam.thursfield@codethink.co.uk>.
- * Makefile.am (libasprintf_la_SOURCES): Add xsize.h and xsize.c.
- (lib_asprintf_EXTRASOURCES): Remove xsize.h.
- * xsize.h: Remove, replacing with the one from gnulib when
- bootstrapping.
-
-2012-12-25 Daiki Ueno <ueno@gnu.org>
-
- * gettext-0.18.2 released.
-
-2012-12-17 Daiki Ueno <ueno@unixuser.org>
-
- * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
- Suggested by Stefano Lattarini <stefano.lattarini@gmail.com>.
-
-2012-11-29 Paul Eggert <eggert@cs.ucla.edu>
-
- * vasnprintf.c (MAX_ROOM_NEEDED): Now static, not static
- inline.
-
-2012-06-22 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Write "Mac OS X" instead of "MacOS X".
-
-2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
-
- maint: replace FSF snail-mail addresses with URLs
- * vasnprintf.c, xsize.h:
- Replace FSF snail mail addresses with URLs, as per GNU coding
- standards. See glibc bug
- <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>.
-
-2012-02-05 Paul Eggert <eggert@cs.ucla.edu>
-
- * vasnprintf.c: Spelling fixes.
-
-2012-01-26 Bruno Haible <bruno@clisp.org>
-
- Modernize quoting.
- * autosprintf.in.h: Quote 'like this', not `like this', as per the
- recent change to the GNU coding standards.
- * vasnprintf.h: Likewise.
- * vasprintf.h: Likewise.
- * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
-
-2012-01-04 Bruno Haible <bruno@clisp.org>
-
- Talk about "native Windows API", not "Win32".
- * vasnprintf.c: Update comments to mention native Windows.
-
-2011-10-15 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Optimize bit search operation.
- * vasnprintf.c (divide): Use optimizations from gnulib's
- integer_length.c.
-
-2011-10-15 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Fix comments.
- * vasnprintf.c (decode_long_double, decode_double): Fix comments.
-
-2011-06-06 Bruno Haible <bruno@clisp.org>
-
- Ensure mbstate_t gets defined in libasprintf.
- * configure.ac: Invoke AC_TYPE_MBSTATE_T. Needed on HP-UX 11.31.
-
-2011-06-04 Bruno Haible <bruno@clisp.org>
-
- Ensure intmax_t gets defined in libasprintf.
- * configure.ac: Invoke gl_AC_TYPE_INTMAX_T instead of gt_TYPE_INTMAX_T.
-
-2011-06-03 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (lib_asprintf_EXTRASOURCES): Add verify.h.
-
-2010-10-10 Paul Eggert <eggert@cs.ucla.edu>
-
- rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
- * vasnprintf.c: Include "verify.h".
- (mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify): Remove, replacing
- with a verify call.
-
-2011-06-03 Bruno Haible <bruno@clisp.org>
-
- Copyright: Use LGPL 2.1 instead of LGPL 2.0.
- * COPYING.LIB: Replace with text of LGPL 2.1.
- * *.h, *.c, *.cc, Makefile.am: Update copyright header.
-
-2011-02-23 Bruno Haible <bruno@clisp.org>
-
- Fix misindentation of preprocessor directives.
- * vasnprintf.c (decode_long_double): Reindent preprocessor directives.
-
-2011-02-04 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Reduce use of malloc for small format strings.
- * printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro.
- (arguments): Add room for the first 7 arguments.
- * printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro.
- (char_directives, u8_directives, u16_directives, u32_directives): Add
- room for the first 7 directives.
- * printf-parse.c: Include <string.h>.
- (PRINTF_PARSE): Change memory handling code so that it uses the first
- 7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct.
- * vasnprintf.c (VASNPRINTF): Update memory handling code.
- Reported by Pádraig Brady <P@draigbrady.com>.
-
-2010-11-20 Bruno Haible <bruno@clisp.org>
-
- Ensure that <features.h> is included before __GLIBC__ is tested.
- * printf-parse.h: Include <features.h>.
- * configure.ac: Test for <features.h>.
- Reported by Mike Frysinger <vapier@gentoo.org>.
-
-2010-11-20 Bruno Haible <bruno@clisp.org>
-
- Port to uClibc.
- * printf-parse.h (FLAG_LOCALIZED): Treat uClibc like a non-glibc platform.
- * printf-parse.c (PRINTF_PARSE): Likewise.
- * vasnprintf.c (decimal_point_char): Treat uClibc like glibc.
- (VASNPRINTF): Treat uClibc like a non-glibc platform.
- Reported by Mike Frysinger <vapier@gentoo.org>.
-
-2010-11-20 Bruno Haible <bruno@clisp.org>
-
- Fix a comment.
- * vasnprintf.c (VASNPRINTF): Fix comment.
-
-2010-11-07 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Support I flag on glibc systems.
- * printf-parse.h (FLAG_LOCALIZED): New macro.
- * printf-parse.c (PRINTF_PARSE): Handle the 'I' flag.
- * vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's
- snprintf function.
-
-2010-11-07 Bruno Haible <bruno@clisp.org>
-
- Rename autosprintf.h.in to autosprintf.in.h.
- * autosprintf.in.h: New file, renamed from autosprintf.h.in.
- * Makefile.am (autosprintf.h, EXTRA_DIST): Update.
-
-2010-10-14 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Don't set errno to 0.
- * vasnprintf.c (VASNPRINTF): Save and restore errno around the block
- that sets it to 0.
- Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
-
-2010-06-04 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.18.1 released.
-
-2010-05-09 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.18 released.
-
-2010-05-09 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Fix syntax errors in libintl build on mingw.
- * vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
- pad_ourselves and prec_ourselves after use.
-
-2010-04-24 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Correct errno value in case of out-of-memory.
- * vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF or
- sprintf. Use the errno value from SNPRINTF or sprintf.
- Reported by Ian Beckwith <ianb@erislabs.net>.
-
-2010-04-10 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Correct handling of unconvertible wide string arguments.
- * vasnprintf.c (MAX_ROOM_NEEDED): New function, extracted from
- VASNPRINTF.
- (VASNPRINTF): Use it. After snprintf failed, allocate more memory only
- if HAVE_SNPRINTF_RETVAL_C99 is false and the allocated memory is
- smaller than the expected maximum need for the directive. Set errno to
- EILSEQ, not EINVAL, when the directive is 'c' or 's'.
- (local_strnlen, local_wcslen, local_wcsnlen): Update conditions.
- Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
-
-2010-04-10 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Fix crash in %ls directive.
- * vasnprintf.c (VASNPRINTF): Don't abort when a unconvertible wide
- string is passed as argument to %ls, with no precision and no width.
- Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
-
-2010-04-10 Bruno Haible <bruno@clisp.org>
-
- vasnprintf: Fix multiple test failures on mingw.
- * vasnprintf.c (SNPRINTF) [mingw]: Define to snprintf, not _snprintf,
- or snwprintf, not _snwprintf.
-
-2010-01-01 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is defined,
- use wctomb instead of wcrtomb.
-
-2009-12-12 Bruno Haible <bruno@clisp.org>
-
- * *.h, *.c: Untabify.
-
-2009-11-22 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (decimal_point_char): Choose the fast path also on
- MacOS X.
-
-2009-11-17 Eric Blake <ebb9@byu.net>
-
- * vasnprintf.c (VASNPRINTF): Avoid shadowing our own local variables.
-
-2009-08-20 Eric Blake <ebb9@byu.net>
-
- * vasnprintf.c (decimal_point_char): Avoid warning on old-style
- declaration.
-
-2009-08-14 Bruno Haible <bruno@clisp.org>
-
- Use the gnulib module 'errno'.
- * Makefile.am: Include Makefile.gnulib.
- (ACLOCAL_AMFLAGS): Add -I gnulib-m4.
- (EXTRA_DIST): Add gnulib-m4/gnulib-cache.m4.
- (BUILT_SOURCES, noinst_LTLIBRARIES): New variables.
- * configure.ac (AC_PREREQ): Require autoconf 2.59 or newer.
- Invoke gl_EARLY, gl_INIT. Don't invoke gl_EOVERFLOW. Remove the alloca
- tests.
-
-2009-08-10 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (DCHAR_SET): Undefine at the end.
-
-2009-06-06 Bruno Haible <bruno@clisp.org>
-
- * configure.ac (AM_INIT_AUTOMAKE): Add 'silent-rules' option.
- * Makefile.am (libasprintf.la): Silence 'make' output if silent-rules.
-
-2009-06-06 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Pass package and version to AC_INIT instead of
- AM_INIT_AUTOMAKE.
-
-2009-05-21 Bruno Haible <bruno@clisp.org>
-
- Assume automake >= 1.10.2.
- * configure.ac (AC_CONFIG_FILES): Remove FIX_MAKEFILE_COMPILE,
- FIX_MAKEFILE_INFO invocations.
-
-2009-04-26 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Update after the calling convention of
- u*_conv_from_encoding and u*_conv_to_encoding changed.
-
-2009-04-08 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (SUFFIXES, CLEANFILES): Remove variables. Not needed any
- more.
-
-2009-03-23 Jim Meyering <meyering@redhat.com>
-
- * vasnprintf.c (divide): Fix typo in comment.
-
-2009-02-26 Bruno Haible <bruno@clisp.org>
-
- Fix *printf behaviour regarding the %ls directive.
- * vasnprintf.c (local_wcslen, VASNPRINTF): Handle
- NEED_PRINTF_DIRECTIVE_LS.
-
-2009-02-23 Bruno Haible <bruno@clisp.org>
-
- Fix invalid read past end of memory block.
- * vasnprintf.c (DCHAR_SET): Define.
- (local_wcslen): Define only when needed.
- (local_strnlen, local_wcsnlen): New functions.
- (VASNPRINTF) [!USE_SNPRINTF && HAVE_WCHAR_T]: Implement the %s and %ls
- directives that involve a conversion ourselves.
- * configure.ac: Also check for strnlen, wcsnlen, mbrtowc, wcrtomb.
-
-2009-01-14 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: More consistent m4 quoting.
-
-2008-09-22 Eric Blake <ebb9@byu.net>
- Bruno Haible <bruno@clisp.org>
-
- vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
- * vasnprintf.c (VASNPRINTF): Support 0.0 on platforms that supply %A
- but mishandle pseudo-NaN.
- Reported by Simon Josefsson.
-
-2008-09-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): When printing ±0.0L in
- NEED_PRINTF_INFINITE_LONG_DOUBLE case with 'e' format, always use two
- digits for the exponent.
-
-2008-09-18 Jim Meyering <meyering@redhat.com>
- Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (decimal_point_char): Define also if
- NEED_PRINTF_INFINITE_LONG_DOUBLE.
-
-2008-09-16 Bruno Haible <bruno@clisp.org>
- and Eric Blake <ebb9@byu.net>
-
- vasnprintf: support Irix 5.3
- * vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms that
- mishandle long double infinity.
- Reported by Tom G. Christensen.
-
-2008-09-02 Eric Blake <ebb9@byu.net>
-
- vasnprintf-posix: handle large precision via %.*d
- * vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf
- when handling it ourselves.
- Reported by Alain Guibert.
-
-2008-07-10 Ben Pfaff <blp@gnu.org>
-
- * vasnprintf.c: Update references to renamed include files.
-
-2008-05-21 Bruno Haible <bruno@clisp.org>
-
- Avoid one more warning from gcc.
- * vasnprintf.c (IF_LINT): Update comments.
- (VASNPRINTF): Use it also for the 'prefix' array initializer.
-
-2008-05-21 Jim Meyering <meyering@redhat.com>
-
- avoid a warning from gcc
- * vasnprintf.c (IF_LINT): Define.
- (scale10_round_decimal_long_double):
- Use it to avoid a "may be used uninitialized" warning.
- (scale10_round_decimal_double): Likewise.
-
-2008-05-16 Jim Meyering <meyering@redhat.com>
- Bruno Haible <bruno@clisp.org>
-
- Avoid some warnings from "gcc -Wshadow".
- * vasnprintf.c (exp, remainder): Define to different identifiers.
-
-2008-04-19 Bruno Haible <bruno@clisp.org>
-
- Work around snprintf bug on Linux libc5.
- * vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems.
-
-2008-04-19 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error from
- 0.0058 to less than 10^-7.
-
-2008-04-19 Bruno Haible <bruno@clisp.org>
-
- Fix rounding when a precision is given.
- * vasnprintf.c (is_borderline): New function.
- (VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with
- 9...9x.
- Reported by John Darrington <john@darrington.wattle.id.au> via
- Ben Pfaff <blp@cs.stanford.edu>.
-
-2008-03-30 Bruno Haible <bruno@clisp.org>
-
- Fix buffer overrun.
- * vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
- Don't consider the width for tmp_length. Check count against tmp_length
- before doing the padding. Ensure enough allocation during padding.
-
-2008-03-30 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (EOVERFLOW): Remove fallback.
-
-2008-03-30 Bruno Haible <bruno@clisp.org>
-
- Fix bug introduced on 2007-06-10.
- * vasnprintf.c (VASNPRINTF): When performing zero-padding, use
- spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
-
-2008-02-28 Atsushi SAKAI <sakaia@jp.fujitsu.com>
-
- * xsize.h: Fix typo in comment: s/tupe/type/.
-
-2008-02-07 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
- Avoids a crash on Windows Vista.
- Reported by Adam Strzelecki <ono@java.pl> via
- Simon Josefsson <simon@josefsson.org>.
-
-2008-02-06 Bruno Haible <bruno@clisp.org>
-
- Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
- * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
- Reported by Peter Fales <psfales@alcatel-lucent.com>.
-
-2008-02-06 Bruno Haible <bruno@clisp.org>
-
- Fix bug introduced on 2007-06-10.
- * vasnprintf.c (VASNPRINTF): Perform zero-padding also if
- !NEED_PRINTF_FLAG_ZERO.
-
-2008-01-29 Jim Meyering <meyering@redhat.com>
-
- vasnprintf.c: Avoid warning about unused label
- * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the
- "overflow" label definition and associated code with the
- same cpp condition that guards the sole use of that label.
-
-2008-01-26 Bruno Haible <bruno@clisp.org>
-
- Rename isnan, applicable to 'double' only, to isnand.
- * vasnprintf.c: Include isnand.h instead of isnan.h.
- (is_infinite_or_zero, VASNPRINTF): Use isnand instead of isnan.
-
-2008-01-08 Jim Meyering <meyering@redhat.com>
- Bruno Haible <bruno@clisp.org>
-
- * printf-parse.c (PRINTF_PARSE): Handle a size specifier "q" on MacOS X
- and a size specifier "I64" on mingw. Needed for PRIdMAX.
- Reported by Peter Fales in
- <http://lists.gnu.org/archive/html/bug-coreutils/2007-12/msg00148.html>.
-
-2008-04-20 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
-
-2007-11-26 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (decode_long_double): Don't abort if the 'long double'
- type has excess precision.
- Reported by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
-
-2007-11-10 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Do _snprintf check like gnulib's vasnprintf.m4 does.
-
-2007-11-10 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Invoke AC_TYPE_LONG_LONG_INT instead of
- gl_AC_TYPE_LONG_LONG. Don't invoke gt_TYPE_LONGDOUBLE.
- Report and patch by Kacper.
-
-2007-11-10 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Invoke gl_EOVERFLOW.
-
-2007-11-09 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf with a
- size argument < 2.
-
-2007-11-09 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf buffer.
- Fixes an inefficiency introduced on 2007-11-03.
-
-2007-11-07 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.17 released.
-
-2007-11-05 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A
- code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set.
- Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE.
- Reported by Eric Blake.
-
-2007-11-04 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end.
-
-2007-06-11 Bruno Haible <bruno@clisp.org>
-
- * printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
- replacement string.
- Reported by Eric Blake.
-
-2007-06-10 Bruno Haible <bruno@clisp.org>
-
- * printf-args.h (PRINTF_FETCHARGS): New macro.
- (arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
- TYPE_U32_STRING.
- (argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
- a_u32_string variants.
- (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
- * printf-args.c: Don't include config.h and the specification header
- if PRINTF_FETCHARGS is already defined.
- (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
- (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
- TYPE_U16_STRING, TYPE_U32_STRING.
-
-2007-11-04 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION.
-
-2007-11-04 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop.
-
-2007-11-03 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Implement NEED_PRINTF_DOUBLE.
- (decode_double): New function, copied from decode_long_double.
- (scale10_round_decimal_decoded): New function, extracted from
- scale10_round_decimal_long_double.
- (scale10_round_decimal_long_double): Use it.
- (scale10_round_decimal_double): New function.
- (floorlog10): New function.
- (VASNPRINTF): Handle NEED_PRINTF_DOUBLE case.
-
-2007-11-03 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return value
- is C99 compliant.
- Needed for OSF/1 5.1.
-
-2007-11-03 Bruno Haible <bruno@clisp.org>
-
- Fix out-of-memory handling of vasnprintf.
- * printf-parse.c: Include <errno.h>.
- (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM.
- * vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno is
- already set.
-
-2007-10-20 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Don't report overflow if the available
- length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T).
- Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
-
-2007-10-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
- Reported by Jim Meyering.
-
-2007-07-13 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (decimal_point_char): Define also if
- (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
- && !NEED_PRINTF_DIRECTIVE_A.
- Reported by Clemens Koller <clemens.koller@anagramm.de> via
- Gary V. Vaughan <gary@gnu.org>.
-
-2007-06-10 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Don't include config.h and the specification header if
- VASNPRINTF is already defined.
- (DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
- (VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
- DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
- type. Handle the case that TCHAR_T and FCHAR_T are not of the same
- size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
- add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
- code accordingly.
- (VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
- pad_ourselves also in this case, with the 'c' and 's' directives, and
- with a different notion of "width".
-
-2007-06-10 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
- 'maxlen'. Ensure only length + width bytes are allocated, not
- length + 1 + width.
-
-2007-06-09 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
- (CHAR_T): Remove macro.
- (VASNPRINTF): Update.
-
-2007-06-05 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Do the extra handling of NaN and Inf
- also the %a / %A. Handle the %a / %A code before this extra handling.
-
-2007-06-05 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c [NEED_PRINTF_LONG_DOUBLE ||
- NEED_PRINTF_INFINITE_LONG_DOUBLE]: Include fpucw.h.
-
-2007-10-21 Bruno Haible <bruno@clisp.org>
-
- * printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
- context.
-
-2007-06-10 Bruno Haible <bruno@clisp.org>
-
- * printf-parse.c: Don't include config.h and the specification
- header if PRINTF_PARSE is already defined. Eliminate the set of
- parameters for WIDE_CHAR_VERSION; the user of this file must provide
- them now. Include c-ctype.h.
- (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
- directive and CHAR_T_ONLY_ASCII.
-
-2007-09-04 Bruno Haible <bruno@clisp.org>
-
- * alloca.in.h: Renamed from alloca_.h.
- * Makefile.am (EXTRA_DIST, alloca.h): Update.
-
-2007-09-01 Bruno Haible <bruno@clisp.org>
-
- * autosprintf.texi (Class autosprintf): Explain memory mangement
- details.
- Reported at <https://savannah.gnu.org/bugs/?17659>.
-
-2007-05-05 Bruno Haible <bruno@clisp.org>
-
- * autosprintf.texi (ifmakeinfo): Remove alias.
- (makeinfo): New variable.
- * Makefile.am (autosprintf_all.html): Don't pass option -expandinfo
- to texi2html.
-
-2007-05-21 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Update comments.
-
-2007-05-20 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Use NEED_PRINTF_INFINITE_DOUBLE instead of
- NEED_PRINTF_INFINITE.
- (is_infinitel): New function.
- (VASNPRINTF): Handle NEED_PRINTF_INFINITE_LONG_DOUBLE case.
-
-2007-05-19 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include math.h and isnan.h.
- (is_infinite_or_zero): New function.
- (VASNPRINTF): Fix also the handling of infinite or zero 'double'
- values in the %f, %F, %e, %E, %g, %G directives.
-
-2007-05-19 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (convert_to_decimal): Add an extra_zeroes argument.
- (scale10_round_decimal_long_double): Inline scale10_round_long_double.
- Instead of multiplying with 10^k, set extra_zeroes to k.
- (scale10_round_long_double): Remove function.
-
-2007-05-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Fix logic bug
- introduced on 2007-05-06.
-
-2007-05-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include math.h and float+.h.
- (mp_limb_t): New type.
- (GMP_LIMB_BITS): New macro.
- (mp_twolimb_t): New type.
- (GMP_TWOLIMB_BITS): New macro.
- (mpn_t): New type.
- (multiply, divide, convert_to_decimal, decode_long_double,
- scale10_round_long_double, scale10_round_decimal_long_double,
- floorlog10l): New functions.
- (VASNPRINTF) [NEED_PRINTF_LONG_DOUBLE]: Implement 'long double' support
- for the %f, %F, %e, %E, %g, %G directives.
-
-2007-05-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (USE_SNPRINTF): Define to 0 on BeOS.
-
-2007-05-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF) [WIN32]: Use %I64d instead of %lld for
- printing 64-bit integers. Needed for mingw.
-
-2007-05-06 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the
- padding ourselves for the floating-point directives.
-
-2007-05-06 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't pass
- the ' flag character to sprintf or snprintf.
-
-2007-04-11 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Implement the %F directive using the %f
- directive, if NEED_PRINTF_DIRECTIVE_F is defined.
-
-2007-04-06 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include <math.h>. Don't include float+.h.
- (VASNPRINTF): Use signbit for faster determination whether to print a
- minus sign.
-
-2007-03-27 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (decimal_point_char): New function.
- (VASNPRINTF): Use it.
-
-2007-03-25 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include langinfo.h.
- (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
- multithread-safe.
-
-2007-03-24 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include fpucw.h.
- (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
- 'long double' calculations.
-
-2007-03-24 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include float+.h.
- (VASNPRINTF): When comparing against +0.0L or +0.0, compare only
- SIZEOF_LDBL or SIZEOF_DBL bytes.
-
-2007-03-24 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
- include isnanl-nolibm.h.
-
-2007-03-21 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Update after isnanl.h was renamed to isnanl-nolibm.h.
-
-2007-03-18 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Undo first part of last patch.
-
-2007-03-17 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (EOVERFLOW): New fallback definition.
- (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
- larger than INT_MAX, or when it grow to a value larger than INT_MAX.
-
-2007-03-17 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
- before comparing it. Needed because on some platforms (e.g. x86) a
- 'long double' occupies less bytes than sizeof (long double).
-
-2007-03-11 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (sprintf): Undefine.
-
-2007-03-11 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (snprintf): Undefine. Avoids an endless recursion.
-
-2007-03-09 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): For the 'a' and 'A' directives, use a
- locale dependent decimal point, rather than always '.'.
-
-2007-03-04 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c: Include isnan.h, isnanl.h, printf-frexp.h,
- printf-frexpl.h.
- (VASNPRINTF): Handle the 'a' and 'A' directives here, if needed.
-
-2007-03-30 Bruno Haible <bruno@clisp.org>
-
- * alloca_.h: Change prefix of double-inclusion guard macro to _GL_.
-
-2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
-
- * alloca_.h (alloca) [defined alloca]: Don't define or declare.
-
-2007-03-08 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.h: Convert tabs in the middle of lines to spaces.
-
-2007-05-03 Bruno Haible <bruno@clisp.org>
-
- Add support for both "makeinfo --html" and texi2html.
- * autosprintf.texi (ifmakeinfo): New alias.
- (Top): Use it instead of @ifinfo.
-
-2007-04-06 Bruno Haible <bruno@clisp.org>
-
- * printf-args.h: Assume HAVE_LONG_DOUBLE to be true.
- * printf-args.c: Likewise.
- * printf-parse.c: Likewise.
- * vasnprintf.c: Likewise.
-
-2007-03-29 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (DEFS): New variable.
- * vasprintf.c: Sync with gnulib.
- * asprintf.c: Likewise.
-
-2007-03-25 Bruno Haible <bruno@clisp.org>
-
- * printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
- (PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
-
-2007-02-25 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Fix estimate of size needed for a 'a' or
- 'A' conversion.
-
-2007-01-29 Bruno Haible <bruno@clisp.org>
-
- * printf-args.h: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
- * printf-args.c: Likewise.
- * printf-parse.c: Likewise.
- * vasnprintf.c: Likewise.
-
-2006-11-01 Bruno Haible <bruno@clisp.org>
-
- * printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results.
-
-2006-10-27 Bruno Haible <bruno@clisp.org>
-
- Work around automake-1.10 annoyance.
- * Makefile.am (ACLOCAL): New macro.
-
-2006-11-27 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.16.1 released.
-
-2006-10-26 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.16 released.
-
-2006-10-16 Bruno Haible <bruno@clisp.org>
-
- Switch to automake-1.10.
- * Makefile.am (install-dvi, install-ps, install-pdf): Remove rules.
- (HTMLS): New variable.
- (html-local): Use it.
- (install-html): Remove rule.
-
-2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
- Bruno Haible <bruno@clisp.org>
-
- * printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
- instead of HAVE_LONG_LONG.
- * printf-args.c (printf_fetchargs): Likewise.
- * printf-parse.c (PRINTF_PARSE): Likewise.
- * vasnprintf.c (VASNPRINTF): Likewise.
-
-2006-09-14 Bruno Haible <bruno@clisp.org>
-
- * lib-asprintf.c: Include <config.h> unconditionally.
- * asnprintf.c: Likewise.
- * asprintf.c: Likewise.
- * printf-args.c: Likewise.
- * printf-parse.c: Likewise.
- * vasnprintf.c: Likewise.
- * vasprintf.c: Likewise.
-
-2006-08-26 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (EOVERFLOW): Remove definition.
- (VASNPRINTF): Return a string of length > INT_MAX without failing.
- * vasprintf.c: Include errno.h, limits.h.
- (EOVERFLOW): New fallback definition.
- (vasprintf): Test here whether the string length is > INT_MAX.
-
-2006-08-28 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Remove bh_C_SIGNED invocation.
-
-2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-
- * autosprintf.texi: Reduce spacing after "i.e." and "e.g.".
-
-2006-07-25 Bruno Haible <bruno@clisp.org>
-
- * windows: Remove directory.
- * Makefile.msvc: Remove file.
- * Makefile.am (config.h.msvc, autosprintf.h.msvc-shared): Remove rules.
- (EXTRA_DIST): Remove Makefile.msvc, config.h.msvc,
- autosprintf.h.msvc-shared, windows/*.
-
-2006-07-25 Bruno Haible <bruno@clisp.org>
-
- * Makefile.vms: Remove file.
- * Makefile.am (config.h_vms): Remove rule.
- (EXTRA_DIST): Remove Makefile.vms, config.h_vms.
-
-2006-07-21 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.15 released.
-
-2006-06-27 Bruno Haible <bruno@clisp.org>
-
- Assume working 'const'.
- * configure.ac: Remove AC_C_CONST invocation.
-
-2006-04-14 Bruno Haible <bruno@clisp.org>
-
- Assume autoconf >= 2.60.
- * Makefile.am (docdir, dvidir, psdir, pdfdir, htmldir): Remove
- variables.
-
-2006-05-24 Bruno Haible <bruno@clisp.org>
-
- * printf-args.c (printf_fetchargs): Turn NULL pointers for
- TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
- Reported by Thorsten Maerz <torte@netztorte.de> via
- Aaron Stone <aaron@serendipity.cx>.
-
-2006-05-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
-
- * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and
- Cygwin.
-
-2006-04-17 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
-
-2006-04-11 Bruno Haible <bruno@clisp.org>
-
- * autosprintf.texi: Change license terms to FDL | GPL.
-
-2006-04-01 Bruno Haible <bruno@clisp.org>
-
- * texi2html: Add option -expandtex. Expand @ifhtml by default, not
- @ifinfo. Use Unicode quotation marks instead of grave and acute
- accents. Emit charset=UTF-8 declaration. Bump version number to 1.52b.
-
-2006-01-22 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): In the computation of the size of the
- temporary buffer for sprintf, take into account the precision also
- for 'd', 'i', 'u', 'o', 'x', 'X'.
-
-2005-11-23 Bruno Haible <bruno@clisp.org>
-
- Cygwin portability.
- * configure.ac: Invoke gl_WOE32_DLL.
-
-2005-07-07 Bruno Haible <bruno@clisp.org>
-
- Add ability to create shared library on BeOS.
- * configure.ac (LTNOUNDEF): New macro.
- * Makefile.am (libasprintf_la_LDFLAGS): New variable.
-
-2005-07-05 Bruno Haible <bruno@clisp.org>
-
- * printf-args.c (printf_fetchargs): Work around broken definition of
- wint_t on mingw.
-
-2006-06-21 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.6 released.
-
-2005-05-23 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.5 released.
-
-2005-04-11 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.4 released.
-
-2005-03-22 Bruno Haible <bruno@clisp.org>
-
- * configure.ac (AC_CONFIG_AUX_DIR): Use ../../build-aux.
- * Makefile.am (ACLOCAL_AMFLAGS): Replace config/m4 with m4.
-
-2005-03-14 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.3 released.
-
-2005-02-24 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.2 released.
-
-2005-02-13 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (libasprintf.la): New rule. Needed for BeOS.
-
-2005-02-12 Bruno Haible <bruno@clisp.org>
-
- * Makefile.msvc (install): Update for 2004-01-18 change.
- * Makefile.vms (install): Likewise.
-
-2005-02-12 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
-
-2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
-
- * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
-
-2004-09-08 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
- is > INT_MAX.
- * vasprintf.c (vasprintf): Don't test for length > INT_MAX any more.
-
-2004-05-14 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
- that consists of a '.' followed by an empty digit string.
- Patch by Tor Lillqvist <tml@iki.fi>.
-
-2004-04-19 Bruno Haible <bruno@clisp.org>
-
- * gettext.m4: Change jm_ to gl_ in all uses of AC_DEFINE'd names.
-
-2004-03-11 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
-
-2004-02-02 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (RM): New variable.
-
-2004-01-29 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14.1 released.
-
-2004-01-28 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.14 released.
-
-2004-01-18 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (autosprintf_all.html): Renamed from autosprintf.html.
- Works around a problem with automake-1.8: It removes autosprintf.html
- during "make mostlyclean".
-
-2003-10-30 Paul Eggert <eggert@twinsun.com>
- Bruno Haible <bruno@clisp.org>
-
- * vasprintf.c: Include <limits.h>, <stdlib.h>.
- (vasprintf): Fail if the resulting length doesn't fit in an 'int'.
-
-2003-12-12 Bruno Haible <bruno@clisp.org>
-
- Assume automake-1.8.
- * Makefile.am (clean-local): Renamed from clean-am.
- (html-local): Renamed from html.
- (ps, pdf, .texi.pdf): Remove rules.
- (TEXI2PDF): Remove variable.
-
-2003-12-17 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.13.1 released.
-
-2003-12-09 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (MAKEINFOFLAGS): New variable.
-
-2003-11-30 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.13 released.
-
-2003-11-28 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Invoke AC_C_INLINE.
- * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
-
-2003-11-23 Paul Eggert <eggert@twinsun.com>
- Bruno Haible <bruno@clisp.org>
-
- * printf-parse.h: Don't include sys/types.h.
- (ARG_NONE): New macro.
- (char_directive): Change type of *arg_index fields to size_t.
- * printf-parse.c: Don't include sys/types.h.
- (SSIZE_MAX): Remove macro.
- (PRINTF_PARSE): Change the type of the arg_index variables to size_t.
- Remove unnecessary overflow check.
- * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
- fields.
- * configure.ac: Don't invoke gt_TYPE_SSIZE_T.
-
-2003-11-19 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
- gl_XSIZE.
-
-2003-11-17 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (alloca): Remove fallback definition.
- (freea): Remove definition.
- (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
- Reported by Paul Eggert.
-
-2003-11-16 Paul Eggert <eggert@twinsun.com>
- Bruno Haible <bruno@clisp.org>
-
- Protect against address arithmetic overflow.
- * printf-args.h: Include stddef.h.
- (arguments): Change type of field 'count' to size_t.
- * printf-args.c (printf_fetchargs): Use size_t instead of
- 'unsigned int' where appropriate.
- * printf-parse.h: Include sys/types.h.
- (char_directive): Change type of *arg_index fields to ssize_t.
- (char_directives): Change type of fields 'count', max_*_length to
- size_t.
- * printf-parse.c: Include sys/types.h and xsize.h.
- (SSIZE_MAX): Define fallback value.
- (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
- instead of 'int' where appropriate. Check a_allocated, d_allocated
- against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
- * vasnprintf.c: Include xsize.h.
- (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
- Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
- overflow. Avoid wraparound when converting a width or precision from
- decimal to binary.
- * xsize.h: New file, from gnulib.
- * Makefile.am (lib_asprintf_EXTRASOURCES): Add xsize.h.
-
-2003-11-04 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (MAKEINFO): Set LC_MESSAGES and LC_ALL to empty as well.
-
-2003-10-31 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Remove argument of FIX_MAKEFILE_COMPILE,
- FIX_MAKEFILE_INFO.
-
-2003-10-19 Jim Meyering <jim@meyering.net>
-
- * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
-
-2003-08-29 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Test whether _snprintf is declared, not only existent
- as a function.
- * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
- Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
- * Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF instead of
- defining snprintf as a macro.
-
-2003-08-24 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (local_wcslen): Protect against multiple definition.
- (USE_SNPRINTF): Define also if only _snprintf() is available.
- (SNPRINTF): Possibly define as _snprintf or _snwprintf.
- * configure.ac: Also check for _snprintf.
-
-2003-08-11 Bruno Haible <bruno@clisp.org>
-
- * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
- (VASNPRINTF): Use it instead of wcslen.
- * configure.ac: Also check for wcslen.
- * Makefile.am (config.h_vms): Set HAVE_WCSLEN.
- (config.h.msvc): Likewise.
-
-2003-06-20 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Invoke gt_PRINTF_POSIX.
- * lib-asprintf.h: Ignore an existing vasprintf() if it doesn't support
- POSIX/XSI format strings.
- * lib-asprintf.c: Likewise.
- * Makefile.am (config.h_vms): Define HAVE_POSIX_PRINTF.
-
-2003-06-19 Bruno Haible <bruno@clisp.org>
-
- * configure.ac (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
- * printf-parse.c: Generalize to it can be compiled for wide strings.
- (PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros.
- * vasnprintf.c: Generalize to it can be compiled for wide strings.
- (VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF,
- SNPRINTF): New macros.
- Don't include <alloca.h> if the file is used inside libintl.
-
-2003-05-30 Bruno Haible <bruno@clisp.org>
-
- * autosprintf.texi: Tweak @dircategory and @direntry.
- Reported by Karl Berry <karl@freefriends.org>.
-
-2003-05-22 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.12.1 released.
-
-2003-05-20 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
- Don't use $< here.
-
-2003-05-19 Bruno Haible <bruno@clisp.org>
-
- * windows/asprintf.rc: Include <winver.h>.
- Reported by Perry Rapp.
-
-2003-05-18 Bruno Haible <bruno@clisp.org>
-
- * Makefile.msvc (DEBUGFLAGS): New variable.
- (asprintf.lib): Use it.
-
-2003-05-17 Bruno Haible <bruno@clisp.org>
-
- * gettext-0.12 released.
-
-2003-04-12 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (config.h_vms): Renamed from config.h.vms.
- * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
- lines. Update library creation rule. Don't use the force target.
- Correct wildcard syntax.
- Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
-
-2003-04-12 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (docdir): Use datadir instead of prefix.
- * Makefile.msvc (datadir): New variable.
- (sub_docdir): Use it instead of prefix.
- (install, installdirs): Update.
- * Makefile.vms (datadir): New variable.
- (sub_docdir): Use it instead of prefix.
-
-2003-03-30 Bruno Haible <bruno@clisp.org>
-
- * Makefile.vms: New file.
- * Makefile.am (config.h.vms): New rule.
- (EXTRA_DIST): Add Makefile.vms and config.h.vms.
-
-2003-03-17 Bruno Haible <bruno@clisp.org>
-
- Native Woe32/MSVC support.
- * autosprintf.h.in: Renamed from autosprintf.h.
- * Makefile.msvc: New file.
- * README.woe32: New file.
- * windows/dllexport.h: New file.
- * windows/asprintf.rc: New file.
- * Makefile.am (EXTRA_DIST): Add them and config.h.msvc and
- autosprintf.h.in.
- (autosprintf.h): New rule.
- (MOSTLYCLEANFILES): Add autosprintf.h.
- (dist-hook): Don't distribute autosprintf.h.
- (config.h.msvc, autosprintf.h.msvc-shared): New rules.
-
-2003-02-22 Bruno Haible <bruno@clisp.org>
-
- * autosprintf.texi: Add comment about indices.
- * Makefile.am (MOSTLYCLEANFILES): No need to clean the unused indices.
- (The automake generated rule already cleans them.)
-
-2003-02-22 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (installdirs): Remove dependency, redundant with
- automake >= 1.6.
-
-2003-02-18 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am (clean-am): New rule. For Solaris cc.
-
-2003-02-12 Bruno Haible <bruno@clisp.org>
-
- * configure.ac: Renamed from configure.in. Invoke AC_CONFIG_AUX_DIR.
- Invoke AC_FUNC_ALLOCA instead of gl_FUNC_ALLOCA. Remove redundant
- postprocessing of Makefile.
- * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../../config/m4.
- ($(libasprintf_la_OBJECTS)): Make alloca.h dependency effective.
-
-2003-01-03 Albert Chin <libtool@thewrittenword.com>
-
- * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
- variable directly down to the linker.
- Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
-
-2003-01-12 Bruno Haible <bruno@clisp.org>
-
- * configure.in: Invoke gl_FUNC_ALLOCA instead of AC_FUNC_ALLOCA.
- * alloca_.h: New file, from gnulib.
- * liballoca.h: Remove file.
- * Makefile.am: Add snippet from gnulib module alloca.
- (lib_asprintf_EXTRASOURCES): Remove liballoca.h.
- * vasnprintf.c: Include alloca.h instead of liballoca.h.
-
-2003-01-12 Bruno Haible <bruno@clisp.org>
-
- * Makefile.am: Make use of += for variables.
-
-2003-01-12 Bruno Haible <bruno@clisp.org>
-
- Portability to FreeBSD.
- * configure.in: Invoke gt_TYPE_WINT_T.
- * printf-args.h: Use HAVE_WINT_T, not HAVE_WCHAR_T, to check for
- availability of wint_t.
- * printf-argc.c: Likewise.
- * printf-parse.c: Likewise.
- * vasnprintf.c: Likewise.
-
-2002-12-07 Bruno Haible <bruno@clisp.org>
-
- Switch to autoconf-2.57 and automake-1.7.2.
- * configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
- and not run any more when config.status is called to create a single
- file.
-
-2002-11-13 Bruno Haible <bruno@clisp.org>
-
- Assume ANSI C.
- * libstdarg.h: Remove file.
- * Makefile.am (lib_asprintf_EXTRASOURCES): Remove libstdarg.h.
- * asnprintf.c: Include <stdarg.h> instead of libstdarg.h.
- (asnprintf): Use ANSI C function declarations. Use va_start instead of
- VA_START.
- * asprintf.c: Include <stdarg.h> instead of libstdarg.h.
- (asnprintf): Use ANSI C function declarations. Use va_start instead of
- VA_START.
- * printf-args.h (PARAMS): Remove macro.
- (printf_fetchargs): Use ANSI C function declarations.
- * printf-args.c (printf_fetchargs): Likewise.
- * printf-parse.h (printf_parse): Likewise.
- * printf-parse.c (printf_parse): Likewise.
- * vasnprintf.h (PARAMS): Remove macro.
- (asnprintf, vasnprintf): Use ANSI C function declarations.
- * vasnprintf.c (vasnprintf): Likewise.
- * vasprintf.h (PARAMS): Remove macro.
- (asprintf, vasprintf): Use ANSI C function declarations.
- * vasprintf.c (vasprintf): Likewise.
-
-2002-10-27 Bruno Haible <bruno@clisp.org>
-
- * printf-args.h, printf-args.c: New files.
- * printf-parse.h, printf-parse.c: New files.
- * vasnprintf.h, vasnprintf.c, asnprintf.c: New files.
- * vasprintf.h, vasprintf.c, asprintf.c: New files.
- * lib-asprintf.h, lib-asprintf.c: New files.
- * autosprintf.h, autosprintf.cc: New files.
- * README, NEWS, AUTHORS, COPYING, autosprintf.texi: New files.
- * Makefile.am, configure.in: New files.
- * liballoca.h, libstdarg.h: New files, from gettext-0.11.6/lib.
- * COPYING.LIB, INSTALL, config.guess, config.sub, install-sh,
- ltmain.sh, missing, mkinstalldirs, texi2html, texinfo.tex: Standard
- infrastructure files, from gettext-0.11.6.
+No more ChangeLog files
+========================
+Do not modify any of the ChangeLog files in gettext. Starting on
+October 14th, 2015 we put changelog information only in the git commit
+log, and generate a top-level ChangeLog file from logs at "make dist"
+time.
+
+Local Variables:
+buffer-read-only: t
+mode: text
+End:
diff --git a/gettext-runtime/libasprintf/ChangeLog.0 b/gettext-runtime/libasprintf/ChangeLog.0
new file mode 100644
index 0000000..6496814
--- /dev/null
+++ b/gettext-runtime/libasprintf/ChangeLog.0
@@ -0,0 +1,1384 @@
+2015-09-11 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.6 released.
+
+2015-07-10 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.5 released.
+
+2015-03-12 Daiki Ueno <ueno@gnu.org>
+
+ * vasnprintf.c: Update from gnulib.
+
+2015-01-22 Daiki Ueno <ueno@gnu.org>
+
+ * vasnprintf.c: Update copyright year.
+
+2014-12-24 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.4 released.
+
+2014-10-15 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.3 released.
+
+2014-09-30 Daiki Ueno <ueno@gnu.org>
+
+ * vasnprintf.c: Update from Gnulib.
+
+2014-07-14 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.2 released.
+
+2014-06-10 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.1 released.
+
+2014-06-02 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19 released.
+
+2013-06-10 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am: Use $(MKDIR_P) instead of $(mkdir_p).
+ Suggested by Stefano Lattarini in
+ <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00044.html>.
+
+2013-03-07 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
+
+ Fix '__attribute__' definition.
+ Reported at <https://savannah.gnu.org/bugs/?35313>
+ * autosprintf.in.h (_AUTOSPRINTF_ATTRIBUTE_FORMAT): New macro
+ instead of redefine __attribute__.
+
+2013-03-04 Miguel Angel Arruga Vivas <rosen644835@gmail.com> (tiny change)
+
+ Add 'autosprintf::operator='. Needed because destructor
+ is not trivial.
+ Reported at <https://savannah.gnu.org/bugs/?33102>
+ * autosprintf.in.h (autosprintf::operator=): New function.
+ Thanks to Daiki Ueno for pointing a better copy-and-swap
+ idiom use.
+ * autosprintf.cc (autosprintf::operator=): Likewise.
+
+2013-01-17 Daiki Ueno <ueno@gnu.org>
+
+ Fix link errors related to C99-style extern inline.
+ Reported by Sam Thursfield <sam.thursfield@codethink.co.uk>.
+ * Makefile.am (libasprintf_la_SOURCES): Add xsize.h and xsize.c.
+ (lib_asprintf_EXTRASOURCES): Remove xsize.h.
+ * xsize.h: Remove, replacing with the one from gnulib when
+ bootstrapping.
+
+2012-12-25 Daiki Ueno <ueno@gnu.org>
+
+ * gettext-0.18.2 released.
+
+2012-12-17 Daiki Ueno <ueno@unixuser.org>
+
+ * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
+ Suggested by Stefano Lattarini <stefano.lattarini@gmail.com>.
+
+2012-11-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * vasnprintf.c (MAX_ROOM_NEEDED): Now static, not static
+ inline.
+
+2012-06-22 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Write "Mac OS X" instead of "MacOS X".
+
+2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ maint: replace FSF snail-mail addresses with URLs
+ * vasnprintf.c, xsize.h:
+ Replace FSF snail mail addresses with URLs, as per GNU coding
+ standards. See glibc bug
+ <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>.
+
+2012-02-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * vasnprintf.c: Spelling fixes.
+
+2012-01-26 Bruno Haible <bruno@clisp.org>
+
+ Modernize quoting.
+ * autosprintf.in.h: Quote 'like this', not `like this', as per the
+ recent change to the GNU coding standards.
+ * vasnprintf.h: Likewise.
+ * vasprintf.h: Likewise.
+ * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
+
+2012-01-04 Bruno Haible <bruno@clisp.org>
+
+ Talk about "native Windows API", not "Win32".
+ * vasnprintf.c: Update comments to mention native Windows.
+
+2011-10-15 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Optimize bit search operation.
+ * vasnprintf.c (divide): Use optimizations from gnulib's
+ integer_length.c.
+
+2011-10-15 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix comments.
+ * vasnprintf.c (decode_long_double, decode_double): Fix comments.
+
+2011-06-06 Bruno Haible <bruno@clisp.org>
+
+ Ensure mbstate_t gets defined in libasprintf.
+ * configure.ac: Invoke AC_TYPE_MBSTATE_T. Needed on HP-UX 11.31.
+
+2011-06-04 Bruno Haible <bruno@clisp.org>
+
+ Ensure intmax_t gets defined in libasprintf.
+ * configure.ac: Invoke gl_AC_TYPE_INTMAX_T instead of gt_TYPE_INTMAX_T.
+
+2011-06-03 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (lib_asprintf_EXTRASOURCES): Add verify.h.
+
+2010-10-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
+ * vasnprintf.c: Include "verify.h".
+ (mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify): Remove, replacing
+ with a verify call.
+
+2011-06-03 Bruno Haible <bruno@clisp.org>
+
+ Copyright: Use LGPL 2.1 instead of LGPL 2.0.
+ * COPYING.LIB: Replace with text of LGPL 2.1.
+ * *.h, *.c, *.cc, Makefile.am: Update copyright header.
+
+2011-02-23 Bruno Haible <bruno@clisp.org>
+
+ Fix misindentation of preprocessor directives.
+ * vasnprintf.c (decode_long_double): Reindent preprocessor directives.
+
+2011-02-04 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Reduce use of malloc for small format strings.
+ * printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro.
+ (arguments): Add room for the first 7 arguments.
+ * printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro.
+ (char_directives, u8_directives, u16_directives, u32_directives): Add
+ room for the first 7 directives.
+ * printf-parse.c: Include <string.h>.
+ (PRINTF_PARSE): Change memory handling code so that it uses the first
+ 7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct.
+ * vasnprintf.c (VASNPRINTF): Update memory handling code.
+ Reported by Pádraig Brady <P@draigbrady.com>.
+
+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Ensure that <features.h> is included before __GLIBC__ is tested.
+ * printf-parse.h: Include <features.h>.
+ * configure.ac: Test for <features.h>.
+ Reported by Mike Frysinger <vapier@gentoo.org>.
+
+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Port to uClibc.
+ * printf-parse.h (FLAG_LOCALIZED): Treat uClibc like a non-glibc platform.
+ * printf-parse.c (PRINTF_PARSE): Likewise.
+ * vasnprintf.c (decimal_point_char): Treat uClibc like glibc.
+ (VASNPRINTF): Treat uClibc like a non-glibc platform.
+ Reported by Mike Frysinger <vapier@gentoo.org>.
+
+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Fix a comment.
+ * vasnprintf.c (VASNPRINTF): Fix comment.
+
+2010-11-07 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Support I flag on glibc systems.
+ * printf-parse.h (FLAG_LOCALIZED): New macro.
+ * printf-parse.c (PRINTF_PARSE): Handle the 'I' flag.
+ * vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's
+ snprintf function.
+
+2010-11-07 Bruno Haible <bruno@clisp.org>
+
+ Rename autosprintf.h.in to autosprintf.in.h.
+ * autosprintf.in.h: New file, renamed from autosprintf.h.in.
+ * Makefile.am (autosprintf.h, EXTRA_DIST): Update.
+
+2010-10-14 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Don't set errno to 0.
+ * vasnprintf.c (VASNPRINTF): Save and restore errno around the block
+ that sets it to 0.
+ Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
+
+2010-06-04 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.18.1 released.
+
+2010-05-09 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.18 released.
+
+2010-05-09 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix syntax errors in libintl build on mingw.
+ * vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
+ pad_ourselves and prec_ourselves after use.
+
+2010-04-24 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Correct errno value in case of out-of-memory.
+ * vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF or
+ sprintf. Use the errno value from SNPRINTF or sprintf.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Correct handling of unconvertible wide string arguments.
+ * vasnprintf.c (MAX_ROOM_NEEDED): New function, extracted from
+ VASNPRINTF.
+ (VASNPRINTF): Use it. After snprintf failed, allocate more memory only
+ if HAVE_SNPRINTF_RETVAL_C99 is false and the allocated memory is
+ smaller than the expected maximum need for the directive. Set errno to
+ EILSEQ, not EINVAL, when the directive is 'c' or 's'.
+ (local_strnlen, local_wcslen, local_wcsnlen): Update conditions.
+ Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix crash in %ls directive.
+ * vasnprintf.c (VASNPRINTF): Don't abort when a unconvertible wide
+ string is passed as argument to %ls, with no precision and no width.
+ Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
+
+2010-04-10 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix multiple test failures on mingw.
+ * vasnprintf.c (SNPRINTF) [mingw]: Define to snprintf, not _snprintf,
+ or snwprintf, not _snwprintf.
+
+2010-01-01 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is defined,
+ use wctomb instead of wcrtomb.
+
+2009-12-12 Bruno Haible <bruno@clisp.org>
+
+ * *.h, *.c: Untabify.
+
+2009-11-22 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (decimal_point_char): Choose the fast path also on
+ MacOS X.
+
+2009-11-17 Eric Blake <ebb9@byu.net>
+
+ * vasnprintf.c (VASNPRINTF): Avoid shadowing our own local variables.
+
+2009-08-20 Eric Blake <ebb9@byu.net>
+
+ * vasnprintf.c (decimal_point_char): Avoid warning on old-style
+ declaration.
+
+2009-08-14 Bruno Haible <bruno@clisp.org>
+
+ Use the gnulib module 'errno'.
+ * Makefile.am: Include Makefile.gnulib.
+ (ACLOCAL_AMFLAGS): Add -I gnulib-m4.
+ (EXTRA_DIST): Add gnulib-m4/gnulib-cache.m4.
+ (BUILT_SOURCES, noinst_LTLIBRARIES): New variables.
+ * configure.ac (AC_PREREQ): Require autoconf 2.59 or newer.
+ Invoke gl_EARLY, gl_INIT. Don't invoke gl_EOVERFLOW. Remove the alloca
+ tests.
+
+2009-08-10 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (DCHAR_SET): Undefine at the end.
+
+2009-06-06 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac (AM_INIT_AUTOMAKE): Add 'silent-rules' option.
+ * Makefile.am (libasprintf.la): Silence 'make' output if silent-rules.
+
+2009-06-06 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Pass package and version to AC_INIT instead of
+ AM_INIT_AUTOMAKE.
+
+2009-05-21 Bruno Haible <bruno@clisp.org>
+
+ Assume automake >= 1.10.2.
+ * configure.ac (AC_CONFIG_FILES): Remove FIX_MAKEFILE_COMPILE,
+ FIX_MAKEFILE_INFO invocations.
+
+2009-04-26 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Update after the calling convention of
+ u*_conv_from_encoding and u*_conv_to_encoding changed.
+
+2009-04-08 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (SUFFIXES, CLEANFILES): Remove variables. Not needed any
+ more.
+
+2009-03-23 Jim Meyering <meyering@redhat.com>
+
+ * vasnprintf.c (divide): Fix typo in comment.
+
+2009-02-26 Bruno Haible <bruno@clisp.org>
+
+ Fix *printf behaviour regarding the %ls directive.
+ * vasnprintf.c (local_wcslen, VASNPRINTF): Handle
+ NEED_PRINTF_DIRECTIVE_LS.
+
+2009-02-23 Bruno Haible <bruno@clisp.org>
+
+ Fix invalid read past end of memory block.
+ * vasnprintf.c (DCHAR_SET): Define.
+ (local_wcslen): Define only when needed.
+ (local_strnlen, local_wcsnlen): New functions.
+ (VASNPRINTF) [!USE_SNPRINTF && HAVE_WCHAR_T]: Implement the %s and %ls
+ directives that involve a conversion ourselves.
+ * configure.ac: Also check for strnlen, wcsnlen, mbrtowc, wcrtomb.
+
+2009-01-14 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: More consistent m4 quoting.
+
+2008-09-22 Eric Blake <ebb9@byu.net>
+ Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
+ * vasnprintf.c (VASNPRINTF): Support 0.0 on platforms that supply %A
+ but mishandle pseudo-NaN.
+ Reported by Simon Josefsson.
+
+2008-09-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): When printing ±0.0L in
+ NEED_PRINTF_INFINITE_LONG_DOUBLE case with 'e' format, always use two
+ digits for the exponent.
+
+2008-09-18 Jim Meyering <meyering@redhat.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (decimal_point_char): Define also if
+ NEED_PRINTF_INFINITE_LONG_DOUBLE.
+
+2008-09-16 Bruno Haible <bruno@clisp.org>
+ and Eric Blake <ebb9@byu.net>
+
+ vasnprintf: support Irix 5.3
+ * vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms that
+ mishandle long double infinity.
+ Reported by Tom G. Christensen.
+
+2008-09-02 Eric Blake <ebb9@byu.net>
+
+ vasnprintf-posix: handle large precision via %.*d
+ * vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf
+ when handling it ourselves.
+ Reported by Alain Guibert.
+
+2008-07-10 Ben Pfaff <blp@gnu.org>
+
+ * vasnprintf.c: Update references to renamed include files.
+
+2008-05-21 Bruno Haible <bruno@clisp.org>
+
+ Avoid one more warning from gcc.
+ * vasnprintf.c (IF_LINT): Update comments.
+ (VASNPRINTF): Use it also for the 'prefix' array initializer.
+
+2008-05-21 Jim Meyering <meyering@redhat.com>
+
+ avoid a warning from gcc
+ * vasnprintf.c (IF_LINT): Define.
+ (scale10_round_decimal_long_double):
+ Use it to avoid a "may be used uninitialized" warning.
+ (scale10_round_decimal_double): Likewise.
+
+2008-05-16 Jim Meyering <meyering@redhat.com>
+ Bruno Haible <bruno@clisp.org>
+
+ Avoid some warnings from "gcc -Wshadow".
+ * vasnprintf.c (exp, remainder): Define to different identifiers.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ Work around snprintf bug on Linux libc5.
+ * vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error from
+ 0.0058 to less than 10^-7.
+
+2008-04-19 Bruno Haible <bruno@clisp.org>
+
+ Fix rounding when a precision is given.
+ * vasnprintf.c (is_borderline): New function.
+ (VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with
+ 9...9x.
+ Reported by John Darrington <john@darrington.wattle.id.au> via
+ Ben Pfaff <blp@cs.stanford.edu>.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix buffer overrun.
+ * vasnprintf.c (VASNPRINTF): If !USE_SNPRINTF && pad_ourselves:
+ Don't consider the width for tmp_length. Check count against tmp_length
+ before doing the padding. Ensure enough allocation during padding.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (EOVERFLOW): Remove fallback.
+
+2008-03-30 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2007-06-10.
+ * vasnprintf.c (VASNPRINTF): When performing zero-padding, use
+ spaces instead of 0 digits for 's' also when ENABLE_UNISTDIO.
+
+2008-02-28 Atsushi SAKAI <sakaia@jp.fujitsu.com>
+
+ * xsize.h: Fix typo in comment: s/tupe/type/.
+
+2008-02-07 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
+ Avoids a crash on Windows Vista.
+ Reported by Adam Strzelecki <ono@java.pl> via
+ Simon Josefsson <simon@josefsson.org>.
+
+2008-02-06 Bruno Haible <bruno@clisp.org>
+
+ Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
+ * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
+ Reported by Peter Fales <psfales@alcatel-lucent.com>.
+
+2008-02-06 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2007-06-10.
+ * vasnprintf.c (VASNPRINTF): Perform zero-padding also if
+ !NEED_PRINTF_FLAG_ZERO.
+
+2008-01-29 Jim Meyering <meyering@redhat.com>
+
+ vasnprintf.c: Avoid warning about unused label
+ * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the
+ "overflow" label definition and associated code with the
+ same cpp condition that guards the sole use of that label.
+
+2008-01-26 Bruno Haible <bruno@clisp.org>
+
+ Rename isnan, applicable to 'double' only, to isnand.
+ * vasnprintf.c: Include isnand.h instead of isnan.h.
+ (is_infinite_or_zero, VASNPRINTF): Use isnand instead of isnan.
+
+2008-01-08 Jim Meyering <meyering@redhat.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.c (PRINTF_PARSE): Handle a size specifier "q" on MacOS X
+ and a size specifier "I64" on mingw. Needed for PRIdMAX.
+ Reported by Peter Fales in
+ <http://lists.gnu.org/archive/html/bug-coreutils/2007-12/msg00148.html>.
+
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
+
+2007-11-26 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (decode_long_double): Don't abort if the 'long double'
+ type has excess precision.
+ Reported by Jim Meyering in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
+
+2007-11-10 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Do _snprintf check like gnulib's vasnprintf.m4 does.
+
+2007-11-10 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke AC_TYPE_LONG_LONG_INT instead of
+ gl_AC_TYPE_LONG_LONG. Don't invoke gt_TYPE_LONGDOUBLE.
+ Report and patch by Kacper.
+
+2007-11-10 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke gl_EOVERFLOW.
+
+2007-11-09 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf with a
+ size argument < 2.
+
+2007-11-09 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf buffer.
+ Fixes an inefficiency introduced on 2007-11-03.
+
+2007-11-07 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.17 released.
+
+2007-11-05 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A
+ code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set.
+ Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE.
+ Reported by Eric Blake.
+
+2007-11-04 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end.
+
+2007-06-11 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
+ replacement string.
+ Reported by Eric Blake.
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.h (PRINTF_FETCHARGS): New macro.
+ (arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
+ TYPE_U32_STRING.
+ (argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
+ a_u32_string variants.
+ (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+ * printf-args.c: Don't include config.h and the specification header
+ if PRINTF_FETCHARGS is already defined.
+ (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+ (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
+ TYPE_U16_STRING, TYPE_U32_STRING.
+
+2007-11-04 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION.
+
+2007-11-04 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop.
+
+2007-11-03 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Implement NEED_PRINTF_DOUBLE.
+ (decode_double): New function, copied from decode_long_double.
+ (scale10_round_decimal_decoded): New function, extracted from
+ scale10_round_decimal_long_double.
+ (scale10_round_decimal_long_double): Use it.
+ (scale10_round_decimal_double): New function.
+ (floorlog10): New function.
+ (VASNPRINTF): Handle NEED_PRINTF_DOUBLE case.
+
+2007-11-03 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return value
+ is C99 compliant.
+ Needed for OSF/1 5.1.
+
+2007-11-03 Bruno Haible <bruno@clisp.org>
+
+ Fix out-of-memory handling of vasnprintf.
+ * printf-parse.c: Include <errno.h>.
+ (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM.
+ * vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno is
+ already set.
+
+2007-10-20 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Don't report overflow if the available
+ length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T).
+ Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2007-10-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems.
+ Reported by Jim Meyering.
+
+2007-07-13 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (decimal_point_char): Define also if
+ (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
+ && !NEED_PRINTF_DIRECTIVE_A.
+ Reported by Clemens Koller <clemens.koller@anagramm.de> via
+ Gary V. Vaughan <gary@gnu.org>.
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Don't include config.h and the specification header if
+ VASNPRINTF is already defined.
+ (DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
+ (VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
+ DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
+ type. Handle the case that TCHAR_T and FCHAR_T are not of the same
+ size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
+ add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
+ code accordingly.
+ (VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
+ pad_ourselves also in this case, with the 'c' and 's' directives, and
+ with a different notion of "width".
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
+ 'maxlen'. Ensure only length + width bytes are allocated, not
+ length + 1 + width.
+
+2007-06-09 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
+ (CHAR_T): Remove macro.
+ (VASNPRINTF): Update.
+
+2007-06-05 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Do the extra handling of NaN and Inf
+ also the %a / %A. Handle the %a / %A code before this extra handling.
+
+2007-06-05 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c [NEED_PRINTF_LONG_DOUBLE ||
+ NEED_PRINTF_INFINITE_LONG_DOUBLE]: Include fpucw.h.
+
+2007-10-21 Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
+ context.
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.c: Don't include config.h and the specification
+ header if PRINTF_PARSE is already defined. Eliminate the set of
+ parameters for WIDE_CHAR_VERSION; the user of this file must provide
+ them now. Include c-ctype.h.
+ (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
+ directive and CHAR_T_ONLY_ASCII.
+
+2007-09-04 Bruno Haible <bruno@clisp.org>
+
+ * alloca.in.h: Renamed from alloca_.h.
+ * Makefile.am (EXTRA_DIST, alloca.h): Update.
+
+2007-09-01 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi (Class autosprintf): Explain memory mangement
+ details.
+ Reported at <https://savannah.gnu.org/bugs/?17659>.
+
+2007-05-05 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi (ifmakeinfo): Remove alias.
+ (makeinfo): New variable.
+ * Makefile.am (autosprintf_all.html): Don't pass option -expandinfo
+ to texi2html.
+
+2007-05-21 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Update comments.
+
+2007-05-20 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Use NEED_PRINTF_INFINITE_DOUBLE instead of
+ NEED_PRINTF_INFINITE.
+ (is_infinitel): New function.
+ (VASNPRINTF): Handle NEED_PRINTF_INFINITE_LONG_DOUBLE case.
+
+2007-05-19 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include math.h and isnan.h.
+ (is_infinite_or_zero): New function.
+ (VASNPRINTF): Fix also the handling of infinite or zero 'double'
+ values in the %f, %F, %e, %E, %g, %G directives.
+
+2007-05-19 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (convert_to_decimal): Add an extra_zeroes argument.
+ (scale10_round_decimal_long_double): Inline scale10_round_long_double.
+ Instead of multiplying with 10^k, set extra_zeroes to k.
+ (scale10_round_long_double): Remove function.
+
+2007-05-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Fix logic bug
+ introduced on 2007-05-06.
+
+2007-05-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include math.h and float+.h.
+ (mp_limb_t): New type.
+ (GMP_LIMB_BITS): New macro.
+ (mp_twolimb_t): New type.
+ (GMP_TWOLIMB_BITS): New macro.
+ (mpn_t): New type.
+ (multiply, divide, convert_to_decimal, decode_long_double,
+ scale10_round_long_double, scale10_round_decimal_long_double,
+ floorlog10l): New functions.
+ (VASNPRINTF) [NEED_PRINTF_LONG_DOUBLE]: Implement 'long double' support
+ for the %f, %F, %e, %E, %g, %G directives.
+
+2007-05-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (USE_SNPRINTF): Define to 0 on BeOS.
+
+2007-05-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF) [WIN32]: Use %I64d instead of %lld for
+ printing 64-bit integers. Needed for mingw.
+
+2007-05-06 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the
+ padding ourselves for the floating-point directives.
+
+2007-05-06 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't pass
+ the ' flag character to sprintf or snprintf.
+
+2007-04-11 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Implement the %F directive using the %f
+ directive, if NEED_PRINTF_DIRECTIVE_F is defined.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include <math.h>. Don't include float+.h.
+ (VASNPRINTF): Use signbit for faster determination whether to print a
+ minus sign.
+
+2007-03-27 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (decimal_point_char): New function.
+ (VASNPRINTF): Use it.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include langinfo.h.
+ (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
+ multithread-safe.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include fpucw.h.
+ (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
+ 'long double' calculations.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include float+.h.
+ (VASNPRINTF): When comparing against +0.0L or +0.0, compare only
+ SIZEOF_LDBL or SIZEOF_DBL bytes.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
+ include isnanl-nolibm.h.
+
+2007-03-21 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Update after isnanl.h was renamed to isnanl-nolibm.h.
+
+2007-03-18 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Undo first part of last patch.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (EOVERFLOW): New fallback definition.
+ (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
+ larger than INT_MAX, or when it grow to a value larger than INT_MAX.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
+ before comparing it. Needed because on some platforms (e.g. x86) a
+ 'long double' occupies less bytes than sizeof (long double).
+
+2007-03-11 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (sprintf): Undefine.
+
+2007-03-11 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (snprintf): Undefine. Avoids an endless recursion.
+
+2007-03-09 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): For the 'a' and 'A' directives, use a
+ locale dependent decimal point, rather than always '.'.
+
+2007-03-04 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c: Include isnan.h, isnanl.h, printf-frexp.h,
+ printf-frexpl.h.
+ (VASNPRINTF): Handle the 'a' and 'A' directives here, if needed.
+
+2007-03-30 Bruno Haible <bruno@clisp.org>
+
+ * alloca_.h: Change prefix of double-inclusion guard macro to _GL_.
+
+2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloca_.h (alloca) [defined alloca]: Don't define or declare.
+
+2007-03-08 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.h: Convert tabs in the middle of lines to spaces.
+
+2007-05-03 Bruno Haible <bruno@clisp.org>
+
+ Add support for both "makeinfo --html" and texi2html.
+ * autosprintf.texi (ifmakeinfo): New alias.
+ (Top): Use it instead of @ifinfo.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.h: Assume HAVE_LONG_DOUBLE to be true.
+ * printf-args.c: Likewise.
+ * printf-parse.c: Likewise.
+ * vasnprintf.c: Likewise.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (DEFS): New variable.
+ * vasprintf.c: Sync with gnulib.
+ * asprintf.c: Likewise.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
+ (PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
+
+2007-02-25 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Fix estimate of size needed for a 'a' or
+ 'A' conversion.
+
+2007-01-29 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.h: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
+ * printf-args.c: Likewise.
+ * printf-parse.c: Likewise.
+ * vasnprintf.c: Likewise.
+
+2006-11-01 Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results.
+
+2006-10-27 Bruno Haible <bruno@clisp.org>
+
+ Work around automake-1.10 annoyance.
+ * Makefile.am (ACLOCAL): New macro.
+
+2006-11-27 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.16.1 released.
+
+2006-10-26 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.16 released.
+
+2006-10-16 Bruno Haible <bruno@clisp.org>
+
+ Switch to automake-1.10.
+ * Makefile.am (install-dvi, install-ps, install-pdf): Remove rules.
+ (HTMLS): New variable.
+ (html-local): Use it.
+ (install-html): Remove rule.
+
+2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
+ Bruno Haible <bruno@clisp.org>
+
+ * printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
+ instead of HAVE_LONG_LONG.
+ * printf-args.c (printf_fetchargs): Likewise.
+ * printf-parse.c (PRINTF_PARSE): Likewise.
+ * vasnprintf.c (VASNPRINTF): Likewise.
+
+2006-09-14 Bruno Haible <bruno@clisp.org>
+
+ * lib-asprintf.c: Include <config.h> unconditionally.
+ * asnprintf.c: Likewise.
+ * asprintf.c: Likewise.
+ * printf-args.c: Likewise.
+ * printf-parse.c: Likewise.
+ * vasnprintf.c: Likewise.
+ * vasprintf.c: Likewise.
+
+2006-08-26 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (EOVERFLOW): Remove definition.
+ (VASNPRINTF): Return a string of length > INT_MAX without failing.
+ * vasprintf.c: Include errno.h, limits.h.
+ (EOVERFLOW): New fallback definition.
+ (vasprintf): Test here whether the string length is > INT_MAX.
+
+2006-08-28 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Remove bh_C_SIGNED invocation.
+
+2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * autosprintf.texi: Reduce spacing after "i.e." and "e.g.".
+
+2006-07-25 Bruno Haible <bruno@clisp.org>
+
+ * windows: Remove directory.
+ * Makefile.msvc: Remove file.
+ * Makefile.am (config.h.msvc, autosprintf.h.msvc-shared): Remove rules.
+ (EXTRA_DIST): Remove Makefile.msvc, config.h.msvc,
+ autosprintf.h.msvc-shared, windows/*.
+
+2006-07-25 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.vms: Remove file.
+ * Makefile.am (config.h_vms): Remove rule.
+ (EXTRA_DIST): Remove Makefile.vms, config.h_vms.
+
+2006-07-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.15 released.
+
+2006-06-27 Bruno Haible <bruno@clisp.org>
+
+ Assume working 'const'.
+ * configure.ac: Remove AC_C_CONST invocation.
+
+2006-04-14 Bruno Haible <bruno@clisp.org>
+
+ Assume autoconf >= 2.60.
+ * Makefile.am (docdir, dvidir, psdir, pdfdir, htmldir): Remove
+ variables.
+
+2006-05-24 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.c (printf_fetchargs): Turn NULL pointers for
+ TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
+ Reported by Thorsten Maerz <torte@netztorte.de> via
+ Aaron Stone <aaron@serendipity.cx>.
+
+2006-05-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
+
+ * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and
+ Cygwin.
+
+2006-04-17 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
+
+2006-04-11 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi: Change license terms to FDL | GPL.
+
+2006-04-01 Bruno Haible <bruno@clisp.org>
+
+ * texi2html: Add option -expandtex. Expand @ifhtml by default, not
+ @ifinfo. Use Unicode quotation marks instead of grave and acute
+ accents. Emit charset=UTF-8 declaration. Bump version number to 1.52b.
+
+2006-01-22 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): In the computation of the size of the
+ temporary buffer for sprintf, take into account the precision also
+ for 'd', 'i', 'u', 'o', 'x', 'X'.
+
+2005-11-23 Bruno Haible <bruno@clisp.org>
+
+ Cygwin portability.
+ * configure.ac: Invoke gl_WOE32_DLL.
+
+2005-07-07 Bruno Haible <bruno@clisp.org>
+
+ Add ability to create shared library on BeOS.
+ * configure.ac (LTNOUNDEF): New macro.
+ * Makefile.am (libasprintf_la_LDFLAGS): New variable.
+
+2005-07-05 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.c (printf_fetchargs): Work around broken definition of
+ wint_t on mingw.
+
+2006-06-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.6 released.
+
+2005-05-23 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.5 released.
+
+2005-04-11 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.4 released.
+
+2005-03-22 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac (AC_CONFIG_AUX_DIR): Use ../../build-aux.
+ * Makefile.am (ACLOCAL_AMFLAGS): Replace config/m4 with m4.
+
+2005-03-14 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.3 released.
+
+2005-02-24 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.2 released.
+
+2005-02-13 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (libasprintf.la): New rule. Needed for BeOS.
+
+2005-02-12 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.msvc (install): Update for 2004-01-18 change.
+ * Makefile.vms (install): Likewise.
+
+2005-02-12 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
+
+2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
+
+2004-09-08 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
+ is > INT_MAX.
+ * vasprintf.c (vasprintf): Don't test for length > INT_MAX any more.
+
+2004-05-14 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
+ that consists of a '.' followed by an empty digit string.
+ Patch by Tor Lillqvist <tml@iki.fi>.
+
+2004-04-19 Bruno Haible <bruno@clisp.org>
+
+ * gettext.m4: Change jm_ to gl_ in all uses of AC_DEFINE'd names.
+
+2004-03-11 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
+
+2004-02-02 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (RM): New variable.
+
+2004-01-29 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.1 released.
+
+2004-01-28 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14 released.
+
+2004-01-18 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (autosprintf_all.html): Renamed from autosprintf.html.
+ Works around a problem with automake-1.8: It removes autosprintf.html
+ during "make mostlyclean".
+
+2003-10-30 Paul Eggert <eggert@twinsun.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * vasprintf.c: Include <limits.h>, <stdlib.h>.
+ (vasprintf): Fail if the resulting length doesn't fit in an 'int'.
+
+2003-12-12 Bruno Haible <bruno@clisp.org>
+
+ Assume automake-1.8.
+ * Makefile.am (clean-local): Renamed from clean-am.
+ (html-local): Renamed from html.
+ (ps, pdf, .texi.pdf): Remove rules.
+ (TEXI2PDF): Remove variable.
+
+2003-12-17 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.13.1 released.
+
+2003-12-09 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (MAKEINFOFLAGS): New variable.
+
+2003-11-30 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.13 released.
+
+2003-11-28 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke AC_C_INLINE.
+ * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
+
+2003-11-23 Paul Eggert <eggert@twinsun.com>
+ Bruno Haible <bruno@clisp.org>
+
+ * printf-parse.h: Don't include sys/types.h.
+ (ARG_NONE): New macro.
+ (char_directive): Change type of *arg_index fields to size_t.
+ * printf-parse.c: Don't include sys/types.h.
+ (SSIZE_MAX): Remove macro.
+ (PRINTF_PARSE): Change the type of the arg_index variables to size_t.
+ Remove unnecessary overflow check.
+ * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
+ fields.
+ * configure.ac: Don't invoke gt_TYPE_SSIZE_T.
+
+2003-11-19 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
+ gl_XSIZE.
+
+2003-11-17 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (alloca): Remove fallback definition.
+ (freea): Remove definition.
+ (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
+ Reported by Paul Eggert.
+
+2003-11-16 Paul Eggert <eggert@twinsun.com>
+ Bruno Haible <bruno@clisp.org>
+
+ Protect against address arithmetic overflow.
+ * printf-args.h: Include stddef.h.
+ (arguments): Change type of field 'count' to size_t.
+ * printf-args.c (printf_fetchargs): Use size_t instead of
+ 'unsigned int' where appropriate.
+ * printf-parse.h: Include sys/types.h.
+ (char_directive): Change type of *arg_index fields to ssize_t.
+ (char_directives): Change type of fields 'count', max_*_length to
+ size_t.
+ * printf-parse.c: Include sys/types.h and xsize.h.
+ (SSIZE_MAX): Define fallback value.
+ (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
+ instead of 'int' where appropriate. Check a_allocated, d_allocated
+ against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
+ * vasnprintf.c: Include xsize.h.
+ (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
+ Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
+ overflow. Avoid wraparound when converting a width or precision from
+ decimal to binary.
+ * xsize.h: New file, from gnulib.
+ * Makefile.am (lib_asprintf_EXTRASOURCES): Add xsize.h.
+
+2003-11-04 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (MAKEINFO): Set LC_MESSAGES and LC_ALL to empty as well.
+
+2003-10-31 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Remove argument of FIX_MAKEFILE_COMPILE,
+ FIX_MAKEFILE_INFO.
+
+2003-10-19 Jim Meyering <jim@meyering.net>
+
+ * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
+
+2003-08-29 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Test whether _snprintf is declared, not only existent
+ as a function.
+ * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
+ Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
+ * Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF instead of
+ defining snprintf as a macro.
+
+2003-08-24 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (local_wcslen): Protect against multiple definition.
+ (USE_SNPRINTF): Define also if only _snprintf() is available.
+ (SNPRINTF): Possibly define as _snprintf or _snwprintf.
+ * configure.ac: Also check for _snprintf.
+
+2003-08-11 Bruno Haible <bruno@clisp.org>
+
+ * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
+ (VASNPRINTF): Use it instead of wcslen.
+ * configure.ac: Also check for wcslen.
+ * Makefile.am (config.h_vms): Set HAVE_WCSLEN.
+ (config.h.msvc): Likewise.
+
+2003-06-20 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke gt_PRINTF_POSIX.
+ * lib-asprintf.h: Ignore an existing vasprintf() if it doesn't support
+ POSIX/XSI format strings.
+ * lib-asprintf.c: Likewise.
+ * Makefile.am (config.h_vms): Define HAVE_POSIX_PRINTF.
+
+2003-06-19 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
+ * printf-parse.c: Generalize to it can be compiled for wide strings.
+ (PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros.
+ * vasnprintf.c: Generalize to it can be compiled for wide strings.
+ (VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF,
+ SNPRINTF): New macros.
+ Don't include <alloca.h> if the file is used inside libintl.
+
+2003-05-30 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi: Tweak @dircategory and @direntry.
+ Reported by Karl Berry <karl@freefriends.org>.
+
+2003-05-22 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.12.1 released.
+
+2003-05-20 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
+ Don't use $< here.
+
+2003-05-19 Bruno Haible <bruno@clisp.org>
+
+ * windows/asprintf.rc: Include <winver.h>.
+ Reported by Perry Rapp.
+
+2003-05-18 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.msvc (DEBUGFLAGS): New variable.
+ (asprintf.lib): Use it.
+
+2003-05-17 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.12 released.
+
+2003-04-12 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms): Renamed from config.h.vms.
+ * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
+ lines. Update library creation rule. Don't use the force target.
+ Correct wildcard syntax.
+ Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
+
+2003-04-12 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (docdir): Use datadir instead of prefix.
+ * Makefile.msvc (datadir): New variable.
+ (sub_docdir): Use it instead of prefix.
+ (install, installdirs): Update.
+ * Makefile.vms (datadir): New variable.
+ (sub_docdir): Use it instead of prefix.
+
+2003-03-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.vms: New file.
+ * Makefile.am (config.h.vms): New rule.
+ (EXTRA_DIST): Add Makefile.vms and config.h.vms.
+
+2003-03-17 Bruno Haible <bruno@clisp.org>
+
+ Native Woe32/MSVC support.
+ * autosprintf.h.in: Renamed from autosprintf.h.
+ * Makefile.msvc: New file.
+ * README.woe32: New file.
+ * windows/dllexport.h: New file.
+ * windows/asprintf.rc: New file.
+ * Makefile.am (EXTRA_DIST): Add them and config.h.msvc and
+ autosprintf.h.in.
+ (autosprintf.h): New rule.
+ (MOSTLYCLEANFILES): Add autosprintf.h.
+ (dist-hook): Don't distribute autosprintf.h.
+ (config.h.msvc, autosprintf.h.msvc-shared): New rules.
+
+2003-02-22 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi: Add comment about indices.
+ * Makefile.am (MOSTLYCLEANFILES): No need to clean the unused indices.
+ (The automake generated rule already cleans them.)
+
+2003-02-22 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (installdirs): Remove dependency, redundant with
+ automake >= 1.6.
+
+2003-02-18 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (clean-am): New rule. For Solaris cc.
+
+2003-02-12 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Renamed from configure.in. Invoke AC_CONFIG_AUX_DIR.
+ Invoke AC_FUNC_ALLOCA instead of gl_FUNC_ALLOCA. Remove redundant
+ postprocessing of Makefile.
+ * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../../config/m4.
+ ($(libasprintf_la_OBJECTS)): Make alloca.h dependency effective.
+
+2003-01-03 Albert Chin <libtool@thewrittenword.com>
+
+ * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
+ variable directly down to the linker.
+ Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
+
+2003-01-12 Bruno Haible <bruno@clisp.org>
+
+ * configure.in: Invoke gl_FUNC_ALLOCA instead of AC_FUNC_ALLOCA.
+ * alloca_.h: New file, from gnulib.
+ * liballoca.h: Remove file.
+ * Makefile.am: Add snippet from gnulib module alloca.
+ (lib_asprintf_EXTRASOURCES): Remove liballoca.h.
+ * vasnprintf.c: Include alloca.h instead of liballoca.h.
+
+2003-01-12 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am: Make use of += for variables.
+
+2003-01-12 Bruno Haible <bruno@clisp.org>
+
+ Portability to FreeBSD.
+ * configure.in: Invoke gt_TYPE_WINT_T.
+ * printf-args.h: Use HAVE_WINT_T, not HAVE_WCHAR_T, to check for
+ availability of wint_t.
+ * printf-argc.c: Likewise.
+ * printf-parse.c: Likewise.
+ * vasnprintf.c: Likewise.
+
+2002-12-07 Bruno Haible <bruno@clisp.org>
+
+ Switch to autoconf-2.57 and automake-1.7.2.
+ * configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
+ and not run any more when config.status is called to create a single
+ file.
+
+2002-11-13 Bruno Haible <bruno@clisp.org>
+
+ Assume ANSI C.
+ * libstdarg.h: Remove file.
+ * Makefile.am (lib_asprintf_EXTRASOURCES): Remove libstdarg.h.
+ * asnprintf.c: Include <stdarg.h> instead of libstdarg.h.
+ (asnprintf): Use ANSI C function declarations. Use va_start instead of
+ VA_START.
+ * asprintf.c: Include <stdarg.h> instead of libstdarg.h.
+ (asnprintf): Use ANSI C function declarations. Use va_start instead of
+ VA_START.
+ * printf-args.h (PARAMS): Remove macro.
+ (printf_fetchargs): Use ANSI C function declarations.
+ * printf-args.c (printf_fetchargs): Likewise.
+ * printf-parse.h (printf_parse): Likewise.
+ * printf-parse.c (printf_parse): Likewise.
+ * vasnprintf.h (PARAMS): Remove macro.
+ (asnprintf, vasnprintf): Use ANSI C function declarations.
+ * vasnprintf.c (vasnprintf): Likewise.
+ * vasprintf.h (PARAMS): Remove macro.
+ (asprintf, vasprintf): Use ANSI C function declarations.
+ * vasprintf.c (vasprintf): Likewise.
+
+2002-10-27 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.h, printf-args.c: New files.
+ * printf-parse.h, printf-parse.c: New files.
+ * vasnprintf.h, vasnprintf.c, asnprintf.c: New files.
+ * vasprintf.h, vasprintf.c, asprintf.c: New files.
+ * lib-asprintf.h, lib-asprintf.c: New files.
+ * autosprintf.h, autosprintf.cc: New files.
+ * README, NEWS, AUTHORS, COPYING, autosprintf.texi: New files.
+ * Makefile.am, configure.in: New files.
+ * liballoca.h, libstdarg.h: New files, from gettext-0.11.6/lib.
+ * COPYING.LIB, INSTALL, config.guess, config.sub, install-sh,
+ ltmain.sh, missing, mkinstalldirs, texi2html, texinfo.tex: Standard
+ infrastructure files, from gettext-0.11.6.
diff --git a/gettext-runtime/libasprintf/Makefile.am b/gettext-runtime/libasprintf/Makefile.am
index 752c156..e5656d7 100644
--- a/gettext-runtime/libasprintf/Makefile.am
+++ b/gettext-runtime/libasprintf/Makefile.am
@@ -1,5 +1,6 @@
## Makefile for the gettext-runtime/libasprintf subdirectory of GNU gettext
-## Copyright (C) 2002-2007, 2009-2010 Free Software Foundation, Inc.
+## Copyright (C) 2002-2007, 2009-2010, 2015 Free Software Foundation,
+## Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/Makefile.gnulib b/gettext-runtime/libasprintf/Makefile.gnulib
index 599ede7..d3c4f0e 100644
--- a/gettext-runtime/libasprintf/Makefile.gnulib
+++ b/gettext-runtime/libasprintf/Makefile.gnulib
@@ -1,6 +1,6 @@
## DO NOT EDIT! GENERATED AUTOMATICALLY!
## Process this file with automake to produce Makefile.in.
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=gettext-runtime/libasprintf --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
+# Reproduce by: gnulib-tool --import --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
MOSTLYCLEANFILES += core *.stackdump
diff --git a/gettext-runtime/libasprintf/Makefile.in b/gettext-runtime/libasprintf/Makefile.in
index ffa2bf6..16cb0d3 100644
--- a/gettext-runtime/libasprintf/Makefile.in
+++ b/gettext-runtime/libasprintf/Makefile.in
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# Makefile.in generated by automake 1.15 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,7 @@
@SET_MAKE@
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -35,11 +35,21 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=gettext-runtime/libasprintf --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
+# Reproduce by: gnulib-tool --import --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
VPATH = @srcdir@
-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
@@ -102,23 +112,6 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.gnulib INSTALL NEWS README AUTHORS \
- ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(top_srcdir)/configure $(am__configure_deps) \
- $(srcdir)/config.h.in \
- $(top_srcdir)/../../build-aux/mkinstalldirs alloca.c \
- $(top_srcdir)/../../build-aux/texinfo.tex $(include_HEADERS) \
- COPYING COPYING.LIB ../../build-aux/compile \
- ../../build-aux/config.guess ../../build-aux/config.rpath \
- ../../build-aux/config.sub ../../build-aux/install-sh \
- ../../build-aux/missing ../../build-aux/mkinstalldirs \
- ../../build-aux/texinfo.tex ../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/compile \
- $(top_srcdir)/../../build-aux/config.guess \
- $(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \
@@ -145,6 +138,8 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \
$(top_srcdir)/../../m4/woe32-dll.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
+ $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/../../build-aux/mkinstalldirs
@@ -319,6 +314,23 @@ ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope
+am__DIST_COMMON = $(srcdir)/Makefile.gnulib $(srcdir)/Makefile.in \
+ $(srcdir)/config.h.in $(top_srcdir)/../../build-aux/ar-lib \
+ $(top_srcdir)/../../build-aux/compile \
+ $(top_srcdir)/../../build-aux/config.guess \
+ $(top_srcdir)/../../build-aux/config.sub \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/missing \
+ $(top_srcdir)/../../build-aux/mkinstalldirs \
+ $(top_srcdir)/../../build-aux/texinfo.tex \
+ ../../build-aux/ar-lib ../../build-aux/compile \
+ ../../build-aux/config.guess ../../build-aux/config.rpath \
+ ../../build-aux/config.sub ../../build-aux/install-sh \
+ ../../build-aux/ltmain.sh ../../build-aux/missing \
+ ../../build-aux/mkinstalldirs ../../build-aux/texinfo.tex \
+ AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README \
+ alloca.c
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -400,6 +412,7 @@ LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIBOBJS = @LTLIBOBJS@
LTNOUNDEF = @LTNOUNDEF@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
# Documentation.
MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
@@ -481,6 +494,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
+runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@@ -568,7 +582,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.gnulib $(am__co
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
-.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
@@ -578,7 +591,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
-$(srcdir)/Makefile.gnulib:
+$(srcdir)/Makefile.gnulib $(am__empty):
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
@@ -966,15 +979,15 @@ dist-xz: distdir
$(am__post_remove_distdir)
dist-tarZ: distdir
- @echo WARNING: "Support for shar distribution archives is" \
- "deprecated." >&2
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
- @echo WARNING: "Support for distribution archives compressed with" \
- "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__post_remove_distdir)
@@ -1010,17 +1023,17 @@ distcheck: dist
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
- mkdir $(distdir)/_build $(distdir)/_inst
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
- && $(am__cd) $(distdir)/_build \
- && ../configure \
+ && $(am__cd) $(distdir)/_build/sub \
+ && ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
- --srcdir=.. --prefix="$$dc_install_base" \
+ --srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
@@ -1310,6 +1323,8 @@ uninstall-am: uninstall-dvi-am uninstall-html-am \
uninstall-libLTLIBRARIES uninstall-local uninstall-pdf-am \
uninstall-ps-am
+.PRECIOUS: Makefile
+
all-local $(libasprintf_la_OBJECTS): autosprintf.h
autosprintf.h: autosprintf.in.h
diff --git a/gettext-runtime/libasprintf/aclocal.m4 b/gettext-runtime/libasprintf/aclocal.m4
index 69caaa5..65f9ec3 100644
--- a/gettext-runtime/libasprintf/aclocal.m4
+++ b/gettext-runtime/libasprintf/aclocal.m4
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.15 -*- Autoconf -*-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.14'
+[am__api_version='1.15'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.14.1], [],
+m4_if([$1], [1.15], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -51,14 +51,74 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.14.1])dnl
+[AM_AUTOMAKE_VERSION([1.15])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_AR([ACT-IF-FAIL])
+# -------------------------
+# Try to determine the archiver interface, and trigger the ar-lib wrapper
+# if it is needed. If the detection of archiver interface fails, run
+# ACT-IF-FAIL (default is to abort configure with a proper error message).
+AC_DEFUN([AM_PROG_AR],
+[AC_BEFORE([$0], [LT_INIT])dnl
+AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([ar-lib])dnl
+AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
+: ${AR=ar}
+
+AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
+ [AC_LANG_PUSH([C])
+ am_cv_ar_interface=ar
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
+ [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([am_ar_try])
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=ar
+ else
+ am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([am_ar_try])
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=lib
+ else
+ am_cv_ar_interface=unknown
+ fi
+ fi
+ rm -f conftest.lib libconftest.a
+ ])
+ AC_LANG_POP([C])])
+
+case $am_cv_ar_interface in
+ar)
+ ;;
+lib)
+ # Microsoft lib, so override with the ar-lib wrapper script.
+ # FIXME: It is wrong to rewrite AR.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__AR in this case,
+ # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+ # similar.
+ AR="$am_aux_dir/ar-lib $AR"
+ ;;
+unknown)
+ m4_default([$1],
+ [AC_MSG_ERROR([could not determine $AR interface])])
+ ;;
+esac
+AC_SUBST([AR])dnl
+])
+
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -103,15 +163,14 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
])
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -142,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -333,7 +392,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -409,7 +468,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -499,8 +558,8 @@ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
@@ -573,7 +632,11 @@ to "yes", and re-run configure.
END
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
-fi])
+fi
+dnl The trailing newline in this macro's definition is deliberate, for
+dnl backward compatibility and to allow trailing 'dnl'-style comments
+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
+])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
@@ -602,7 +665,7 @@ for _am_header in $config_headers :; do
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -613,7 +676,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
+if test x"${install_sh+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -623,7 +686,7 @@ if test x"${install_sh}" != xset; then
fi
AC_SUBST([install_sh])])
-# Copyright (C) 2003-2013 Free Software Foundation, Inc.
+# Copyright (C) 2003-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -644,7 +707,7 @@ AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -694,7 +757,7 @@ rm -f confinc confmf
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -733,7 +796,7 @@ fi
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -762,7 +825,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -809,7 +872,7 @@ AC_LANG_POP([C])])
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -828,7 +891,7 @@ AC_DEFUN([AM_RUN_LOG],
# Check to make sure that the build environment is sane. -*- Autoconf -*-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -909,7 +972,7 @@ AC_CONFIG_COMMANDS_PRE(
rm -f conftest.file
])
-# Copyright (C) 2009-2013 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -969,7 +1032,7 @@ AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -997,7 +1060,7 @@ fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
-# Copyright (C) 2006-2013 Free Software Foundation, Inc.
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1016,7 +1079,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
-# Copyright (C) 2004-2013 Free Software Foundation, Inc.
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff --git a/gettext-runtime/libasprintf/alloca.in.h b/gettext-runtime/libasprintf/alloca.in.h
index a573650..d277582 100644
--- a/gettext-runtime/libasprintf/alloca.in.h
+++ b/gettext-runtime/libasprintf/alloca.in.h
@@ -1,5 +1,6 @@
/* Memory allocation on the stack.
- Copyright (C) 1995, 1999, 2001-2007 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1999, 2001-2007, 2015 Free Software Foundation,
+ Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/asnprintf.c b/gettext-runtime/libasprintf/asnprintf.c
index 309fbcc..7467315 100644
--- a/gettext-runtime/libasprintf/asnprintf.c
+++ b/gettext-runtime/libasprintf/asnprintf.c
@@ -1,5 +1,5 @@
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006, 2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/asprintf.c b/gettext-runtime/libasprintf/asprintf.c
index 77e4e75..521d586 100644
--- a/gettext-runtime/libasprintf/asprintf.c
+++ b/gettext-runtime/libasprintf/asprintf.c
@@ -1,5 +1,6 @@
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006-2007, 2015 Free Software Foundation,
+ Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/autosprintf.cc b/gettext-runtime/libasprintf/autosprintf.cc
index 5e867d3..25422d8 100644
--- a/gettext-runtime/libasprintf/autosprintf.cc
+++ b/gettext-runtime/libasprintf/autosprintf.cc
@@ -1,5 +1,5 @@
/* Class autosprintf - formatted output to an ostream.
- Copyright (C) 2002, 2013 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2013, 2015 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify
diff --git a/gettext-runtime/libasprintf/autosprintf.in.h b/gettext-runtime/libasprintf/autosprintf.in.h
index 784af91..22e7443 100644
--- a/gettext-runtime/libasprintf/autosprintf.in.h
+++ b/gettext-runtime/libasprintf/autosprintf.in.h
@@ -1,5 +1,5 @@
/* Class autosprintf - formatted output to an ostream.
- Copyright (C) 2002, 2012, 2013 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2012-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/autosprintf.info b/gettext-runtime/libasprintf/autosprintf.info
index 59ebbc4..5dd0491 100644
--- a/gettext-runtime/libasprintf/autosprintf.info
+++ b/gettext-runtime/libasprintf/autosprintf.info
@@ -1,7 +1,7 @@
This is autosprintf.info, produced by makeinfo version 5.2 from
autosprintf.texi.
-Copyright (C) 2002-2003, 2006-2007 Free Software Foundation, Inc.
+Copyright (C) 2002-2003, 2006-2007, 2015 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
@@ -125,9 +125,9 @@ variable that it provides.

Tag Table:
-Node: Top1339
-Node: Introduction1699
-Node: Class autosprintf2852
-Node: Using autosprintf3863
+Node: Top1345
+Node: Introduction1705
+Node: Class autosprintf2858
+Node: Using autosprintf3869

End Tag Table
diff --git a/gettext-runtime/libasprintf/autosprintf.texi b/gettext-runtime/libasprintf/autosprintf.texi
index 0b74d5c..56b1998 100644
--- a/gettext-runtime/libasprintf/autosprintf.texi
+++ b/gettext-runtime/libasprintf/autosprintf.texi
@@ -33,7 +33,7 @@
This file provides documentation for GNU @code{autosprintf} library.
@copying
-Copyright (C) 2002-2003, 2006-2007 Free Software Foundation, Inc.
+Copyright (C) 2002-2003, 2006-2007, 2015 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
diff --git a/gettext-runtime/libasprintf/autosprintf_all.html b/gettext-runtime/libasprintf/autosprintf_all.html
index 725b3ea..2274da9 100644
--- a/gettext-runtime/libasprintf/autosprintf_all.html
+++ b/gettext-runtime/libasprintf/autosprintf_all.html
@@ -21,7 +21,7 @@
<P><HR><P>
<P>
-Copyright (C) 2002-2003, 2006-2007 Free Software Foundation, Inc.
+Copyright (C) 2002-2003, 2006-2007, 2015 Free Software Foundation, Inc.
</P>
<P>
diff --git a/gettext-runtime/libasprintf/config.h.in b/gettext-runtime/libasprintf/config.h.in
index f36f26f..5c6b008 100644
--- a/gettext-runtime/libasprintf/config.h.in
+++ b/gettext-runtime/libasprintf/config.h.in
@@ -226,12 +226,13 @@
# define _GL_EXTERN_INLINE static _GL_UNUSED
#endif
-/* In GCC, suppress bogus "no previous prototype for 'FOO'"
+/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
+ suppress bogus "no previous prototype for 'FOO'"
and "no previous declaration for 'FOO'" diagnostics,
when FOO is an inline function in the header; see
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
-#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
+#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
# define _GL_INLINE_HEADER_CONST_PRAGMA
# else
diff --git a/gettext-runtime/libasprintf/configure b/gettext-runtime/libasprintf/configure
index b4b42f1..6ffedae 100755
--- a/gettext-runtime/libasprintf/configure
+++ b/gettext-runtime/libasprintf/configure
@@ -666,13 +666,13 @@ GL_COND_LIBTOOL_FALSE
GL_COND_LIBTOOL_TRUE
LTNOUNDEF
CXXCPP
+LT_SYS_LIBRARY_PATH
OTOOL64
OTOOL
LIPO
NMEDIT
DSYMUTIL
MANIFEST_TOOL
-ac_ct_AR
LN_S
NM
ac_ct_DUMPBIN
@@ -686,6 +686,7 @@ DLLTOOL
AS
RANLIB
ARFLAGS
+ac_ct_AR
AR
EGREP
GREP
@@ -767,6 +768,7 @@ infodir
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -812,6 +814,7 @@ CXX
CXXFLAGS
CCC
CPP
+LT_SYS_LIBRARY_PATH
CXXCPP'
@@ -851,6 +854,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1103,6 +1107,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1240,7 +1253,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1393,6 +1406,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1466,6 +1480,8 @@ Some influential environment variables:
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CPP C preprocessor
+ LT_SYS_LIBRARY_PATH
+ User-defined run-time library search path.
CXXCPP C++ preprocessor
Use these variables to override the choices made by `configure' or to help
@@ -2683,7 +2699,7 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.14'
+am__api_version='1.15'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2855,8 +2871,8 @@ test "$program_suffix" != NONE &&
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
@@ -2875,7 +2891,7 @@ else
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi
-if test x"${install_sh}" != xset; then
+if test x"${install_sh+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -3203,8 +3219,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AMTAR='$${TAR-tar}'
@@ -3261,6 +3277,7 @@ END
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
fi
fi
+
ac_config_headers="$ac_config_headers config.h"
@@ -5036,6 +5053,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
$as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
if ${gl_cv_c_amsterdam_compiler+:} false; then :
@@ -5062,14 +5080,189 @@ rm -f conftest*
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
$as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
- if test -z "$AR"; then
- if test $gl_cv_c_amsterdam_compiler = yes; then
+
+ if test $gl_cv_c_amsterdam_compiler = yes; then
+ if test -z "$AR"; then
AR='cc -c.a'
- if test -z "$ARFLAGS"; then
- ARFLAGS='-o'
+ fi
+ if test -z "$ARFLAGS"; then
+ ARFLAGS='-o'
+ fi
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar lib "link -lib"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar lib "link -lib"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
+$as_echo_n "checking the archiver ($AR) interface... " >&6; }
+if ${am_cv_ar_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ am_cv_ar_interface=ar
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int some_variable = 0;
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+ (eval $am_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=ar
+ else
+ am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+ (eval $am_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=lib
+ else
+ am_cv_ar_interface=unknown
+ fi
fi
- else
- if test -n "$ac_tool_prefix"; then
+ rm -f conftest.lib libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
+$as_echo "$am_cv_ar_interface" >&6; }
+
+case $am_cv_ar_interface in
+ar)
+ ;;
+lib)
+ # Microsoft lib, so override with the ar-lib wrapper script.
+ # FIXME: It is wrong to rewrite AR.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__AR in this case,
+ # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+ # similar.
+ AR="$am_aux_dir/ar-lib $AR"
+ ;;
+unknown)
+ as_fn_error $? "could not determine $AR interface" "$LINENO" 5
+ ;;
+esac
+
+ fi
+
+ if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -5161,17 +5354,12 @@ else
AR="$ac_cv_prog_AR"
fi
- if test -z "$ARFLAGS"; then
- ARFLAGS='cru'
- fi
- fi
- else
- if test -z "$ARFLAGS"; then
- ARFLAGS='cru'
- fi
+ if test -z "$ARFLAGS"; then
+ ARFLAGS='cr'
fi
+
if test -z "$RANLIB"; then
if test $gl_cv_c_amsterdam_compiler = yes; then
RANLIB=':'
@@ -5274,6 +5462,9 @@ fi
+ # Pre-early section.
+
+
# Code from module absolute-header:
# Code from module alloca:
# Code from module alloca-opt:
@@ -5334,8 +5525,8 @@ esac
-macro_version='2.4.4'
-macro_revision='2.4.4'
+macro_version='2.4.6'
+macro_revision='2.4.6'
@@ -7550,6 +7741,21 @@ $as_echo "$lt_cv_truncate_bin" >&6; }
+
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+ for cc_temp in $*""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+ done
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+
# Check whether --enable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then :
enableval=$enable_libtool_lock;
@@ -8557,6 +8763,41 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
;;
esac
+# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+# string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+# string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+# "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+# VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+ case x$2 in
+ x)
+ ;;
+ *:)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
+ ;;
+ x:*)
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ *::*)
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
+ ;;
+ *)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ esac
+}
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if ${ac_cv_header_stdc+:} false; then :
@@ -9315,15 +9556,8 @@ test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
test -z "$LD" && LD=ld
test -z "$ac_objext" && ac_objext=o
-for cc_temp in $compiler""; do
- case $cc_temp in
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+func_cc_basename $compiler
+cc_basename=$func_cc_basename_result
# Only perform the check for file, if the check method requires it
@@ -11782,6 +12016,8 @@ hardcode_into_libs=no
# flags to be left without arguments
need_version=unknown
+
+
case $host_os in
aix3*)
version_type=linux # correct to gnu/linux during the next big refactor
@@ -12070,6 +12306,7 @@ freebsd* | dragonfly*)
case $version_type in
freebsd-elf*)
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
need_version=no
need_lib_prefix=no
;;
@@ -12129,10 +12366,11 @@ hpux9* | hpux10* | hpux11*)
soname_spec='$libname$release$shared_ext$major'
if test 32 = "$HPUX_IA64_MODE"; then
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
else
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
fi
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
hppa*64*)
shrext_cmds='.sl'
@@ -12284,7 +12522,12 @@ fi
# before this can be enabled.
hardcode_into_libs=yes
- # Append ld.so.conf contents to the search path
+ # Ideally, we could use ldconfig to report *all* directores which are
+ # searched for libraries, however this is still not possible. Aside from not
+ # being certain /sbin/ldconfig is available, command
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+ # even though it is searched at run-time. Try to do the best guess by
+ # appending ld.so.conf contents (and includes) to the search path.
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
@@ -12509,10 +12752,25 @@ fi
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
fi
+
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
fi
+# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
+
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
+
+
+
+
+
@@ -13511,15 +13769,8 @@ $RM -r conftest*
CFLAGS=$CXXFLAGS
compiler=$CC
compiler_CXX=$CC
- for cc_temp in $compiler""; do
- case $cc_temp in
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+ func_cc_basename $compiler
+cc_basename=$func_cc_basename_result
if test -n "$compiler"; then
@@ -14906,51 +15157,6 @@ interix[3-9]*)
postdep_objects_CXX=
postdeps_CXX=
;;
-
-linux*)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- # Sun C++ 5.9
-
- # The more standards-conforming stlport4 library is
- # incompatible with the Cstd library. Avoid specifying
- # it if it's in CXXFLAGS. Ignore libCrun as
- # -library=stlport4 depends on it.
- case " $CXX $CXXFLAGS " in
- *" -library=stlport4 "*)
- solaris_use_stlport4=yes
- ;;
- esac
-
- if test yes != "$solaris_use_stlport4"; then
- postdeps_CXX='-library=Cstd -library=Crun'
- fi
- ;;
- esac
- ;;
-
-solaris*)
- case $cc_basename in
- CC* | sunCC*)
- # The more standards-conforming stlport4 library is
- # incompatible with the Cstd library. Avoid specifying
- # it if it's in CXXFLAGS. Ignore libCrun as
- # -library=stlport4 depends on it.
- case " $CXX $CXXFLAGS " in
- *" -library=stlport4 "*)
- solaris_use_stlport4=yes
- ;;
- esac
-
- # Adding this requires a known-good setup of shared libraries for
- # Sun compiler versions before 5.6, else PIC objects from an old
- # archive will be linked into the output, leading to subtle bugs.
- if test yes != "$solaris_use_stlport4"; then
- postdeps_CXX='-library=Cstd -library=Crun'
- fi
- ;;
- esac
- ;;
esac
@@ -15774,6 +15980,8 @@ hardcode_into_libs=no
# flags to be left without arguments
need_version=unknown
+
+
case $host_os in
aix3*)
version_type=linux # correct to gnu/linux during the next big refactor
@@ -16060,6 +16268,7 @@ freebsd* | dragonfly*)
case $version_type in
freebsd-elf*)
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
need_version=no
need_lib_prefix=no
;;
@@ -16119,10 +16328,11 @@ hpux9* | hpux10* | hpux11*)
soname_spec='$libname$release$shared_ext$major'
if test 32 = "$HPUX_IA64_MODE"; then
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
else
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
fi
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
hppa*64*)
shrext_cmds='.sl'
@@ -16274,7 +16484,12 @@ fi
# before this can be enabled.
hardcode_into_libs=yes
- # Append ld.so.conf contents to the search path
+ # Ideally, we could use ldconfig to report *all* directores which are
+ # searched for libraries, however this is still not possible. Aside from not
+ # being certain /sbin/ldconfig is available, command
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+ # even though it is searched at run-time. Try to do the best guess by
+ # appending ld.so.conf contents (and includes) to the search path.
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
@@ -16499,10 +16714,22 @@ fi
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
fi
+
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
fi
+# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
+
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
+
+
@@ -19192,7 +19419,8 @@ finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
-sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
+configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
@@ -19396,7 +19624,8 @@ postinstall_cmds \
postuninstall_cmds \
finish_cmds \
sys_lib_search_path_spec \
-sys_lib_dlsearch_path_spec \
+configure_time_dlsearch_path \
+configure_time_lt_sys_library_path \
reload_cmds_CXX \
old_archive_cmds_CXX \
old_archive_from_new_cmds_CXX \
@@ -20184,6 +20413,9 @@ $as_echo X"$file" |
# The names of the tagged configurations supported by this script.
available_tags='CXX '
+# Configured defaults for sys_lib_dlsearch_path munging.
+: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
+
# ### BEGIN LIBTOOL CONFIG
# Which release of libtool.m4 was used?
@@ -20436,8 +20668,11 @@ hardcode_into_libs=$hardcode_into_libs
# Compile-time system search path for libraries.
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
-# Run-time system search path for libraries.
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+# Detected run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
+
+# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
+configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
# Whether dlopen is supported.
dlopen_support=$enable_dlopen
@@ -20602,6 +20837,65 @@ compiler_lib_search_path=$lt_compiler_lib_search_path
_LT_EOF
+ cat <<'_LT_EOF' >> "$cfgfile"
+
+# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
+
+# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+# string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+# string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+# "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+# VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+ case x$2 in
+ x)
+ ;;
+ *:)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
+ ;;
+ x:*)
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ *::*)
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
+ ;;
+ *)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ esac
+}
+
+
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+ for cc_temp in $*""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+ done
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+
+
+# ### END FUNCTIONS SHARED WITH CONFIGURE
+
+_LT_EOF
+
case $host_os in
aix3*)
cat <<\_LT_EOF >> "$cfgfile"
diff --git a/gettext-runtime/libasprintf/configure.ac b/gettext-runtime/libasprintf/configure.ac
index 19a9556..a7c2811 100644
--- a/gettext-runtime/libasprintf/configure.ac
+++ b/gettext-runtime/libasprintf/configure.ac
@@ -1,5 +1,5 @@
dnl Configuration for the GNU libasprintf library
-dnl Copyright (C) 2002-2011 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2011, 2015 Free Software Foundation, Inc.
dnl
dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
diff --git a/gettext-runtime/libasprintf/errno.in.h b/gettext-runtime/libasprintf/errno.in.h
index bdcad7f..4d68ea0 100644
--- a/gettext-runtime/libasprintf/errno.in.h
+++ b/gettext-runtime/libasprintf/errno.in.h
@@ -1,6 +1,6 @@
/* A POSIX-like <errno.h>.
- Copyright (C) 2008-2014 Free Software Foundation, Inc.
+ Copyright (C) 2008-2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/gnulib-m4/00gnulib.m4 b/gettext-runtime/libasprintf/gnulib-m4/00gnulib.m4
index 8eca551..c7103ed 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/00gnulib.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/00gnulib.m4
@@ -1,5 +1,5 @@
# 00gnulib.m4 serial 3
-dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gettext-runtime/libasprintf/gnulib-m4/absolute-header.m4 b/gettext-runtime/libasprintf/gnulib-m4/absolute-header.m4
index ce3e39e..bc19dfc 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/absolute-header.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/absolute-header.m4
@@ -1,5 +1,5 @@
# absolute-header.m4 serial 16
-dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gettext-runtime/libasprintf/gnulib-m4/alloca.m4 b/gettext-runtime/libasprintf/gnulib-m4/alloca.m4
index 58a61f8..c7165e5 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/alloca.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/alloca.m4
@@ -1,5 +1,6 @@
# alloca.m4 serial 4 (gettext-0.18.2)
-dnl Copyright (C) 2002-2003, 2006, 2011 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2003, 2006, 2011, 2015 Free Software Foundation,
+dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gettext-runtime/libasprintf/gnulib-m4/errno_h.m4 b/gettext-runtime/libasprintf/gnulib-m4/errno_h.m4
index 4ee9e6a..cfaa687 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/errno_h.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/errno_h.m4
@@ -1,5 +1,5 @@
# errno_h.m4 serial 12
-dnl Copyright (C) 2004, 2006, 2008-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2006, 2008-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gettext-runtime/libasprintf/gnulib-m4/gnulib-cache.m4 b/gettext-runtime/libasprintf/gnulib-m4/gnulib-cache.m4
index 953f3df..c25f630 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/gnulib-cache.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/gnulib-cache.m4
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=gettext-runtime/libasprintf --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
+# gnulib-tool --import --local-dir=gnulib-local --lib=libgnu --source-base=. --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../../build-aux --lgpl=2 --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gl alloca errno verify xsize
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([../../gnulib-local])
diff --git a/gettext-runtime/libasprintf/gnulib-m4/gnulib-common.m4 b/gettext-runtime/libasprintf/gnulib-m4/gnulib-common.m4
index 31e5f94..50ef974 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/gnulib-common.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/gnulib-common.m4
@@ -1,5 +1,5 @@
# gnulib-common.m4 serial 36
-dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -253,9 +253,10 @@ AC_DEFUN([gl_PROG_AR_RANLIB],
[
dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler
dnl as "cc", and GCC as "gcc". They have different object file formats and
- dnl library formats. In particular, the GNU binutils programs ar, ranlib
+ dnl library formats. In particular, the GNU binutils programs ar and ranlib
dnl produce libraries that work only with gcc, not with cc.
AC_REQUIRE([AC_PROG_CC])
+ AC_BEFORE([$0], [AM_PROG_AR])
AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler],
[
AC_EGREP_CPP([Amsterdam],
@@ -267,25 +268,37 @@ Amsterdam
[gl_cv_c_amsterdam_compiler=yes],
[gl_cv_c_amsterdam_compiler=no])
])
- if test -z "$AR"; then
- if test $gl_cv_c_amsterdam_compiler = yes; then
+
+ dnl Don't compete with AM_PROG_AR's decision about AR/ARFLAGS if we are not
+ dnl building with __ACK__.
+ if test $gl_cv_c_amsterdam_compiler = yes; then
+ if test -z "$AR"; then
AR='cc -c.a'
- if test -z "$ARFLAGS"; then
- ARFLAGS='-o'
- fi
- else
- dnl Use the Automake-documented default values for AR and ARFLAGS,
- dnl but prefer ${host}-ar over ar (useful for cross-compiling).
- AC_CHECK_TOOL([AR], [ar], [ar])
- if test -z "$ARFLAGS"; then
- ARFLAGS='cru'
- fi
fi
- else
if test -z "$ARFLAGS"; then
- ARFLAGS='cru'
+ ARFLAGS='-o'
fi
+ else
+ dnl AM_PROG_AR was added in automake v1.11.2. AM_PROG_AR does not AC_SUBST
+ dnl ARFLAGS variable (it is filed into Makefile.in directly by automake
+ dnl script on-demand, if not specified by ./configure of course).
+ dnl Don't AC_REQUIRE the AM_PROG_AR otherwise the code for __ACK__ above
+ dnl will be ignored. Also, pay attention to call AM_PROG_AR in else block
+ dnl because AM_PROG_AR is written so it could re-set AR variable even for
+ dnl __ACK__. It may seem like its easier to avoid calling the macro here,
+ dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good
+ dnl default value and automake should usually know them).
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR], [:])
+ fi
+
+ dnl In case the code above has not helped with setting AR/ARFLAGS, use
+ dnl Automake-documented default values for AR and ARFLAGS, but prefer
+ dnl ${host}-ar over ar (useful for cross-compiling).
+ AC_CHECK_TOOL([AR], [ar], [ar])
+ if test -z "$ARFLAGS"; then
+ ARFLAGS='cr'
fi
+
AC_SUBST([AR])
AC_SUBST([ARFLAGS])
if test -z "$RANLIB"; then
diff --git a/gettext-runtime/libasprintf/gnulib-m4/gnulib-comp.m4 b/gettext-runtime/libasprintf/gnulib-m4/gnulib-comp.m4
index deedd4d..07b40a0 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/gnulib-comp.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/gnulib-comp.m4
@@ -1,5 +1,5 @@
# DO NOT EDIT! GENERATED AUTOMATICALLY!
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -37,7 +37,10 @@ AC_DEFUN([gl_EARLY],
m4_pattern_allow([^gl_ES$])dnl a valid locale name
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
+
+ # Pre-early section.
AC_REQUIRE([gl_PROG_AR_RANLIB])
+
# Code from module absolute-header:
# Code from module alloca:
# Code from module alloca-opt:
diff --git a/gettext-runtime/libasprintf/gnulib-m4/include_next.m4 b/gettext-runtime/libasprintf/gnulib-m4/include_next.m4
index 69ad3db..233d254 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/include_next.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/include_next.m4
@@ -1,5 +1,5 @@
# include_next.m4 serial 23
-dnl Copyright (C) 2006-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2015 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gettext-runtime/libasprintf/gnulib-m4/intmax_t.m4 b/gettext-runtime/libasprintf/gnulib-m4/intmax_t.m4
index af5561e..4bd8155 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/intmax_t.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/intmax_t.m4
@@ -1,5 +1,5 @@
# intmax_t.m4 serial 8
-dnl Copyright (C) 1997-2004, 2006-2007, 2009-2014 Free Software Foundation,
+dnl Copyright (C) 1997-2004, 2006-2007, 2009-2015 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gettext-runtime/libasprintf/gnulib-m4/onceonly.m4 b/gettext-runtime/libasprintf/gnulib-m4/onceonly.m4
index 15f94ce..cb5872c 100644
--- a/gettext-runtime/libasprintf/gnulib-m4/onceonly.m4
+++ b/gettext-runtime/libasprintf/gnulib-m4/onceonly.m4
@@ -1,5 +1,5 @@
# onceonly.m4 serial 9
-dnl Copyright (C) 2002-2003, 2005-2006, 2008-2014 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2008-2015 Free Software Foundation,
dnl Inc.
dnl
dnl This file is free software; you can redistribute it and/or modify
diff --git a/gettext-runtime/libasprintf/lib-asprintf.c b/gettext-runtime/libasprintf/lib-asprintf.c
index ba3acc0..f8ca5d4 100644
--- a/gettext-runtime/libasprintf/lib-asprintf.c
+++ b/gettext-runtime/libasprintf/lib-asprintf.c
@@ -1,5 +1,5 @@
/* Library functions for class autosprintf.
- Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2006, 2015 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify
diff --git a/gettext-runtime/libasprintf/lib-asprintf.h b/gettext-runtime/libasprintf/lib-asprintf.h
index d654e9c..95c2b38 100644
--- a/gettext-runtime/libasprintf/lib-asprintf.h
+++ b/gettext-runtime/libasprintf/lib-asprintf.h
@@ -1,5 +1,5 @@
/* Library functions for class autosprintf.
- Copyright (C) 2002-2003 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2015 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify
diff --git a/gettext-runtime/libasprintf/printf-args.c b/gettext-runtime/libasprintf/printf-args.c
index 271a294..3c34867 100644
--- a/gettext-runtime/libasprintf/printf-args.c
+++ b/gettext-runtime/libasprintf/printf-args.c
@@ -1,5 +1,6 @@
/* Decomposed printf argument list.
- Copyright (C) 1999, 2002-2003, 2005-2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002-2003, 2005-2007, 2015 Free Software
+ Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/printf-args.h b/gettext-runtime/libasprintf/printf-args.h
index 89693df..0937e60 100644
--- a/gettext-runtime/libasprintf/printf-args.h
+++ b/gettext-runtime/libasprintf/printf-args.h
@@ -1,5 +1,6 @@
/* Decomposed printf argument list.
- Copyright (C) 1999, 2002-2003, 2006-2007, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002-2003, 2006-2007, 2011, 2015 Free Software
+ Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/printf-parse.c b/gettext-runtime/libasprintf/printf-parse.c
index 0e2d2c7..87f49a3 100644
--- a/gettext-runtime/libasprintf/printf-parse.c
+++ b/gettext-runtime/libasprintf/printf-parse.c
@@ -1,5 +1,6 @@
/* Formatted output to strings.
- Copyright (C) 1999-2000, 2002-2003, 2006-2008, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1999-2000, 2002-2003, 2006-2008, 2011, 2015 Free
+ Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/printf-parse.h b/gettext-runtime/libasprintf/printf-parse.h
index bba183c..b90233e 100644
--- a/gettext-runtime/libasprintf/printf-parse.h
+++ b/gettext-runtime/libasprintf/printf-parse.h
@@ -1,5 +1,6 @@
/* Parse printf format string.
- Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2011, 2015 Free
+ Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/size_max.h b/gettext-runtime/libasprintf/size_max.h
index b77f5f3..b7a99a5 100644
--- a/gettext-runtime/libasprintf/size_max.h
+++ b/gettext-runtime/libasprintf/size_max.h
@@ -1,5 +1,5 @@
/* size_max.h -- declare SIZE_MAX through system headers
- Copyright (C) 2005-2006, 2009-2014 Free Software Foundation, Inc.
+ Copyright (C) 2005-2006, 2009-2015 Free Software Foundation, Inc.
Written by Simon Josefsson.
This program is free software; you can redistribute it and/or modify
diff --git a/gettext-runtime/libasprintf/texi2html b/gettext-runtime/libasprintf/texi2html
index 9e7e82c..7c94d5b 100755
--- a/gettext-runtime/libasprintf/texi2html
+++ b/gettext-runtime/libasprintf/texi2html
@@ -1561,7 +1561,7 @@ sub update_sec_num {
$level--; # here we start at 0
if ($name =~ /^appendix/) {
# appendix style
- if (defined(@appendix_sec_num)) {
+ if (@appendix_sec_num) {
&incr_sec_num($level, @appendix_sec_num);
} else {
@appendix_sec_num = ('A', 0, 0, 0);
@@ -1569,7 +1569,7 @@ sub update_sec_num {
return(join('.', @appendix_sec_num[0..$level]));
} else {
# normal style
- if (defined(@normal_sec_num)) {
+ if (@normal_sec_num) {
&incr_sec_num($level, @normal_sec_num);
} else {
@normal_sec_num = (1, 0, 0, 0);
diff --git a/gettext-runtime/libasprintf/vasnprintf.c b/gettext-runtime/libasprintf/vasnprintf.c
index 7e326f8..fabdc17 100644
--- a/gettext-runtime/libasprintf/vasnprintf.c
+++ b/gettext-runtime/libasprintf/vasnprintf.c
@@ -1,5 +1,5 @@
/* vsprintf with automatic memory allocation.
- Copyright (C) 1999, 2002-2012 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -1886,7 +1886,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
else
{
do
- result[length++] = (unsigned char) *cp++;
+ result[length++] = *cp++;
while (--n > 0);
}
}
@@ -4793,7 +4793,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
const FCHAR_T *mp = dp->width_start;
do
- *fbp++ = (unsigned char) *mp++;
+ *fbp++ = *mp++;
while (--n > 0);
}
}
@@ -4814,7 +4814,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
const FCHAR_T *mp = dp->precision_start;
do
- *fbp++ = (unsigned char) *mp++;
+ *fbp++ = *mp++;
while (--n > 0);
}
}
@@ -5179,18 +5179,21 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
/* SNPRINTF or sprintf failed. Save and use the errno
that it has set, if any. */
int saved_errno = errno;
+ if (saved_errno == 0)
+ {
+ if (dp->conversion == 'c' || dp->conversion == 's')
+ saved_errno = EILSEQ;
+ else
+ saved_errno = EINVAL;
+ }
if (!(result == resultbuf || result == NULL))
free (result);
if (buf_malloced != NULL)
free (buf_malloced);
CLEANUP ();
- errno =
- (saved_errno != 0
- ? saved_errno
- : (dp->conversion == 'c' || dp->conversion == 's'
- ? EILSEQ
- : EINVAL));
+
+ errno = saved_errno;
return NULL;
}
@@ -5379,7 +5382,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
tmpsrc += count;
tmpdst += count;
for (n = count; n > 0; n--)
- *--tmpdst = (unsigned char) *--tmpsrc;
+ *--tmpdst = *--tmpsrc;
}
}
#endif
diff --git a/gettext-runtime/libasprintf/vasnprintf.h b/gettext-runtime/libasprintf/vasnprintf.h
index 9e6c362..2594015 100644
--- a/gettext-runtime/libasprintf/vasnprintf.h
+++ b/gettext-runtime/libasprintf/vasnprintf.h
@@ -1,5 +1,5 @@
/* vsprintf with automatic memory allocation.
- Copyright (C) 2002-2004, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2002-2004, 2012, 2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/vasprintf.c b/gettext-runtime/libasprintf/vasprintf.c
index 35ef71f..5b595af 100644
--- a/gettext-runtime/libasprintf/vasprintf.c
+++ b/gettext-runtime/libasprintf/vasprintf.c
@@ -1,5 +1,6 @@
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006-2007, 2015 Free Software Foundation,
+ Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/vasprintf.h b/gettext-runtime/libasprintf/vasprintf.h
index 0ed89f2..6d7f3c6 100644
--- a/gettext-runtime/libasprintf/vasprintf.h
+++ b/gettext-runtime/libasprintf/vasprintf.h
@@ -1,5 +1,5 @@
/* vsprintf with automatic memory allocation.
- Copyright (C) 2002-2003, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2012, 2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/verify.h b/gettext-runtime/libasprintf/verify.h
index 609d00b..4784fb3 100644
--- a/gettext-runtime/libasprintf/verify.h
+++ b/gettext-runtime/libasprintf/verify.h
@@ -1,6 +1,6 @@
/* Compile-time assert-like macros.
- Copyright (C) 2005-2006, 2009-2014 Free Software Foundation, Inc.
+ Copyright (C) 2005-2006, 2009-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/gettext-runtime/libasprintf/xsize.h b/gettext-runtime/libasprintf/xsize.h
index c256665..de3d92e 100644
--- a/gettext-runtime/libasprintf/xsize.h
+++ b/gettext-runtime/libasprintf/xsize.h
@@ -1,6 +1,6 @@
/* xsize.h -- Checked size_t computations.
- Copyright (C) 2003, 2008-2014 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2008-2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by