diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-29 10:16:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-29 10:16:38 +0000 |
commit | 842d0295a1656d82eff7395682371390f3962e95 (patch) | |
tree | 0b0b9bb398f10179413fa739fa8ef57a79037a92 /intl/bindtextdom.c | |
parent | f326a706f8ef9f539bf44312ef8c6c5baa2a0ebe (diff) | |
download | glibc-842d0295a1656d82eff7395682371390f3962e95.tar.gz |
Update.
* intl/localealias.c (read_alias_file): Use unsigned char for
local variables. Remove unused variable tp.
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
for type of codeset. For loosing Solaris systems.
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
len if not needed.
Patches by Jim Meyering.
Diffstat (limited to 'intl/bindtextdom.c')
-rw-r--r-- | intl/bindtextdom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c index 3862544575..be78ae0f23 100644 --- a/intl/bindtextdom.c +++ b/intl/bindtextdom.c @@ -139,7 +139,9 @@ BINDTEXTDOMAIN (domainname, dirname) else { /* We have to create a new binding. */ +#if !defined _LIBC && !defined HAVE_STRDUP size_t len; +#endif struct binding *new_binding = (struct binding *) malloc (sizeof (*new_binding)); |