From 842d0295a1656d82eff7395682371390f3962e95 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 29 Apr 1998 10:16:38 +0000 Subject: 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. --- intl/localealias.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'intl/localealias.c') diff --git a/intl/localealias.c b/intl/localealias.c index d6ddf0c..7f668ec 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -256,10 +256,10 @@ read_alias_file (fname, fname_len) b) these fields must be usable as file names and so must not be that long */ - char buf[BUFSIZ]; - char *alias; - char *value; - char *cp; + unsigned char buf[BUFSIZ]; + unsigned char *alias; + unsigned char *value; + unsigned char *cp; if (fgets (buf, sizeof buf, fp) == NULL) /* EOF reached. */ @@ -299,7 +299,6 @@ read_alias_file (fname, fname_len) if (cp[0] != '\0') { - char *tp; size_t alias_len; size_t value_len; -- cgit v1.1