From: Bruno Haible Date: Wed, 28 Jun 2006 16:27:38 +0000 (+0000) Subject: Update from gnulib. X-Git-Tag: v0.15~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84699745c849e5b4714842ca0a54a1d4d5018462;p=thirdparty%2Fgettext.git Update from gnulib. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 1862963a1..4a4b929ed 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-06-28 Bruno Haible + + * xvasprintf.h: Update from gnulib. + 2006-04-14 Bruno Haible Assume autoconf >= 2.60. diff --git a/gettext-tools/lib/xvasprintf.h b/gettext-tools/lib/xvasprintf.h index 91cf54ec1..de55a9f0c 100644 --- a/gettext-tools/lib/xvasprintf.h +++ b/gettext-tools/lib/xvasprintf.h @@ -1,5 +1,5 @@ /* vasprintf and asprintf with out-of-memory checking. - Copyright (C) 2002-2004 Free Software Foundation, Inc. + Copyright (C) 2002-2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,10 +38,8 @@ extern "C" { #endif -/* Write formatted output to a string dynamically allocated with malloc(). - If the memory allocation succeeds, store the address of the string in - *RESULT and return the number of resulting bytes, excluding the trailing - NUL. Upon [ENOMEM] memory allocation error, call xalloc_die. +/* Write formatted output to a string dynamically allocated with malloc(), + and return it. Upon [ENOMEM] memory allocation error, call xalloc_die. On some other error - [EOVERFLOW] resulting string length is > INT_MAX, - [EINVAL] invalid format string,