]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 18 Jun 1998 19:55:01 +0000 (19:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 18 Jun 1998 19:55:01 +0000 (19:55 +0000)
1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>

* intl/dcgettext.c: use complete type name.
* intl/hash-string.h: Likewise.

* intl/localealias.c: Undo patch from 1998-04-29.
* intl/l10nflist.c: Likewise.
* intl/loadinfo.h: Likewise.

ChangeLog
intl/dcgettext.c
intl/hash-string.h
intl/l10nflist.c
intl/loadinfo.h
intl/localealias.c

index f07d70177fee2bca7733fb8a7b76956cbf976743..2b901c02e3384e678f96fa4c1bde1877680bd153 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
+
+       * intl/dcgettext.c: use complete type name.
+       * intl/hash-string.h: Likewise.
+
+       * intl/localealias.c: Undo patch from 1998-04-29.
+       * intl/l10nflist.c: Likewise.
+       * intl/loadinfo.h: Likewise.
+
 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
index 2a2b895cc99280c29d38a940cc9a160451d13cfb..9f76abf89aad0c504cfded07dea5c3241c102db3 100644 (file)
@@ -298,7 +298,7 @@ DCGETTEXT (domainname, msgid, category)
       size_t path_max;
       char *ret;
 
-      path_max = (unsigned) PATH_MAX;
+      path_max = (unsigned int) PATH_MAX;
       path_max += 2;           /* The getcwd docs say to do this.  */
 
       dirname = (char *) alloca (path_max + dirname_len);
index 68af3ec6f2801b6d6f8c62433bde6532026e358d..32ca018bdaad80286b3cb38086528a44e8a0930b 100644 (file)
@@ -36,9 +36,9 @@
 /* Defines the so called `hashpjw' function by P.J. Weinberger
    [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
    1986, 1987 Bell Telephone Laboratories, Inc.]  */
-static unsigned long hash_string PARAMS ((const char *__str_param));
+static unsigned long int hash_string PARAMS ((const char *__str_param));
 
-static inline unsigned long
+static inline unsigned long int
 hash_string (str_param)
      const char *str_param;
 {
@@ -50,8 +50,8 @@ hash_string (str_param)
   while (*str != '\0')
     {
       hval <<= 4;
-      hval += (unsigned long) *str++;
-      g = hval & ((unsigned long) 0xf << (HASHWORDBITS - 4));
+      hval += (unsigned long int) *str++;
+      g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4));
       if (g != 0)
        {
          hval ^= g >> (HASHWORDBITS - 8);
index bd12a0a955b6e87a05601c305e58833d02c335bf..b205b96c439974668b2199751a6d0dc12009a840 100644 (file)
@@ -355,7 +355,7 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language,
    names.  */
 const char *
 _nl_normalize_codeset (codeset, name_len)
-     const unsigned char *codeset;
+     const char *codeset;
      size_t name_len;
 {
   int len = 0;
index b82dc90d67c809054a0f1a185969a4ffe0f2b27c..35d98f0d9b87c62ff51bc50e204a26392326bb17 100644 (file)
@@ -51,7 +51,7 @@ struct loaded_l10nfile
 };
 
 
-extern const char *_nl_normalize_codeset PARAMS ((const unsigned char *codeset,
+extern const char *_nl_normalize_codeset PARAMS ((const char *codeset,
                                                  size_t name_len));
 
 extern struct loaded_l10nfile *
index 7f668ec360ee47e6bf7fb24981ea145f55525545..45c16c6e53cef2978ffabb3800d4d48570e93369 100644 (file)
@@ -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
        */
-      unsigned char buf[BUFSIZ];
-      unsigned char *alias;
-      unsigned char *value;
-      unsigned char *cp;
+      char buf[BUFSIZ];
+      char *alias;
+      char *value;
+      char *cp;
 
       if (fgets (buf, sizeof buf, fp) == NULL)
        /* EOF reached.  */