]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Tue, 30 Jul 1996 19:15:53 +0000 (19:15 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 30 Jul 1996 19:15:53 +0000 (19:15 +0000)
* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
protection.

locale/loadlocale.c
locale/programs/ld-collate.c
sunrpc/rpc/pmap_clnt.h

index fa7320a49ab7ddf9a20e7eaf006ef1afdd07ac75..d465ed131e6c1a02234eda7801123aaa3cca5e6b 100644 (file)
@@ -181,7 +181,7 @@ _nl_load_locale (struct loaded_l10nfile *file, int category)
 
   if (W (filedata->nstrings) < _nl_category_num_items[category] ||
       (sizeof *filedata + W (filedata->nstrings) * sizeof (unsigned int)
-       >= (unsigned int) st.st_size))
+       >= (size_t) st.st_size))
     {
       /* Insufficient data.  */
       errno = EINVAL;
index 77e946535dedc1b9535a439f16f3cc8257d1b9c6..a948b55ed3537b58313976ae2ad075974198a00b 100644 (file)
@@ -1003,7 +1003,7 @@ Computing table size for collation information might take a while..."),
 #if __BYTE_ORDER == __BIG_ENDIAN
   iov[2 + _NL_ITEM_INDEX (_NL_COLLATE_SYMB_CLASS_EB)].iov_base
     = symbols_class;
-  iov[2 + _NL_ITEM_INDEX (_NL_COLLATE_ELEM_CLASS_EB)].iov_len
+  iov[2 + _NL_ITEM_INDEX (_NL_COLLATE_SYMB_CLASS_EB)].iov_len
     = symbols_class_size;
 
   iov[2 + _NL_ITEM_INDEX (_NL_COLLATE_SYMB_CLASS_EL)].iov_base
index 46e196ba3a76040c4927217807e73de9e82a5c9b..f1a9d9be88c340a44ce31736dc54ab3fdc31400a 100644 (file)
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
+#ifndef _RPC_PMAP_CLNT_H
+#define _RPC_PMAP_CLNT_H       1
+#include <features.h>
+
 __BEGIN_DECLS
 
 typedef bool_t (*resultproc_t)();