mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion protection.
This commit is contained in:
parent
d69b7ce7ee
commit
55ad485cee
@ -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;
|
||||
|
@ -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
|
||||
|
@ -35,6 +35,10 @@
|
||||
* 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)();
|
||||
|
Loading…
Reference in New Issue
Block a user