summaryrefslogtreecommitdiff
path: root/intl/l10nflist.c
diff options
context:
space:
mode:
authorJacob Leach <jleach@src.gnome.org>2000-04-06 01:40:08 +0000
committerJacob Leach <jleach@src.gnome.org>2000-04-06 01:40:08 +0000
commit5ee0a8275335a5b0f1deb19ac506bbe0f2e75a22 (patch)
treee894d069a7b4d97661fdcecf2982903c04689819 /intl/l10nflist.c
parenta30e996c94bdb971562811c4dab2fdd2cd457484 (diff)
downloadshared-mime-info-5ee0a8275335a5b0f1deb19ac506bbe0f2e75a22.tar.gz
Another bigger-than-probably-needs-to-be commit. All the file
renaming/removing should be completely done. Began glade-izing the dialogs, glade is awesome. Improved the requirement checks in the .spec and configure. Fixed a few crashes and then updated BUGS. We're getting closer to a new stable release. svn path=/trunk/; revision=1170
Diffstat (limited to 'intl/l10nflist.c')
-rw-r--r--intl/l10nflist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index 4e2bc130..9c7dc183 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -1,6 +1,6 @@
/* Handle list of needed message catalogs
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
- Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
+ Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
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
@@ -65,7 +65,9 @@
/* Rename the non ANSI C functions. This is required by the standard
because some ANSI C functions will require linking with this object
file and the name space must not be polluted. */
-# define stpcpy(dest, src) __stpcpy(dest, src)
+# ifndef stpcpy
+# define stpcpy(dest, src) __stpcpy(dest, src)
+# endif
#else
# ifndef HAVE_STPCPY
static char *stpcpy PARAMS ((char *dest, const char *src));
@@ -350,7 +352,7 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language,
names. */
const char *
_nl_normalize_codeset (codeset, name_len)
- const char *codeset;
+ const unsigned char *codeset;
size_t name_len;
{
int len = 0;