diff options
author | Jim Meyering <jim@meyering.net> | 1996-06-19 01:42:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-06-19 01:42:15 +0000 |
commit | a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6 (patch) | |
tree | bb10d48627be04ed2769b0a54da741d64ad908f0 /intl | |
parent | 482f161a5c6b5f4f21493a84de70b1a8fecbb226 (diff) | |
download | idutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.tar.gz idutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.tar.bz2 idutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.zip |
Update from gettext-0.10.20.
Diffstat (limited to 'intl')
-rw-r--r-- | intl/ChangeLog | 8 | ||||
-rw-r--r-- | intl/VERSION | 2 | ||||
-rw-r--r-- | intl/l10nflist.c | 15 |
3 files changed, 16 insertions, 9 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog index 48d19da..78b173f 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,11 @@ +Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com> + + * l10nflist.c: Correct presence test macros of __argz_* functions. + + * l10nflist.c: Include <argz.h> based on test of it instead when + __argz_* functions are available. + Reported by Andreas Schwab. + Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com> * explodename.c, l10nflist.c: Define NULL for dumb systems. diff --git a/intl/VERSION b/intl/VERSION index 0c57d6f..8bc88ad 100644 --- a/intl/VERSION +++ b/intl/VERSION @@ -1 +1 @@ -GNU gettext library from gettext-0.10.18 +GNU gettext library from gettext-0.10.20 diff --git a/intl/l10nflist.c b/intl/l10nflist.c index a874ef2..8fa91e4 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -21,8 +21,7 @@ Boston, MA 02111-1307, USA. */ # include <config.h> #endif -#if defined _LIBC || \ - defined __ARGZ_COUNT || defined __ARGZ_STRINGIFY || defined __ARGZ_NEXT +#if defined _LIBC || defined HAVE_ARGZ_H # include <argz.h> #endif #include <ctype.h> @@ -71,7 +70,7 @@ static char *stpcpy PARAMS ((char *dest, const char *src)); /* Define function which are usually not available. */ -#if !defined _LIBC && !defined __ARGZ_COUNT +#if !defined _LIBC && !defined HAVE___ARGZ_COUNT /* Returns the number of strings in ARGZ. */ static size_t __argz_count PARAMS ((const char *argz, size_t len)); @@ -90,9 +89,9 @@ __argz_count (argz, len) } return count; } -#endif /* !_LIBC && !__ARGZ_COUNT */ +#endif /* !_LIBC && !HAVE___ARGZ_COUNT */ -#if !defined _LIBC && !defined __ARGZ_STRINGIFY +#if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's except the last into the character SEP. */ static void __argz_stringify PARAMS ((char *argz, size_t len, int sep)); @@ -112,9 +111,9 @@ __argz_stringify (argz, len, sep) *argz++ = sep; } } -#endif /* !_LIBC && !__ARGZ_COUNT */ +#endif /* !_LIBC && !HAVE___ARGZ_COUNT */ -#if !defined _LIBC && !defined __ARGZ_NEXT +#if !defined _LIBC && !defined HAVE___ARGZ_NEXT static char * __argz_next (argz, argz_len, entry) char *argz; @@ -134,7 +133,7 @@ __argz_next (argz, argz_len, entry) else return 0; } -#endif +#endif /* !_LIBC && !HAVE___ARGZ_NEXT */ /* Return number of bits set in X. */ |