mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
* nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. * nis/nis_table.c (__create_ib_request): Likewise.
This commit is contained in:
parent
addc92bd05
commit
8112cc70b4
@ -1,5 +1,10 @@
|
||||
2003-03-15 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
|
||||
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
|
||||
* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
|
||||
* nis/nis_table.c (__create_ib_request): Likewise.
|
||||
|
||||
* posix/fnmatch_loop.c: Add casts for signedness.
|
||||
* nss/nss_files/files-hosts.c: Likewise.
|
||||
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
/* Copyright (c) 1997, 1998, 1999, 2003 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997.
|
||||
|
||||
@ -30,7 +30,7 @@ __create_ib_request (const_nis_name name, unsigned int flags)
|
||||
struct ib_request *ibreq = calloc (1, sizeof (ib_request));
|
||||
char buf[strlen (name) + 1];
|
||||
nis_attr *search_val = NULL;
|
||||
int search_len = 0;
|
||||
size_t search_len = 0;
|
||||
char *cptr;
|
||||
size_t size = 0;
|
||||
|
||||
|
@ -214,7 +214,7 @@ _nss_nis_getaliasbyname_r (const char *name, struct aliasent *alias,
|
||||
char *p;
|
||||
size_t namlen = strlen (name);
|
||||
char name2[namlen + 1];
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
if (name == NULL)
|
||||
{
|
||||
|
@ -261,7 +261,7 @@ internal_gethostbyname2_r (const char *name, int af, struct hostent *host,
|
||||
/* Convert name to lowercase. */
|
||||
size_t namlen = strlen (name);
|
||||
char name2[namlen + 1];
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < namlen; ++i)
|
||||
name2[i] = tolower (name[i]);
|
||||
|
@ -181,7 +181,7 @@ _nss_nis_getnetbyname_r (const char *name, struct netent *net, char *buffer,
|
||||
/* Convert name to lowercase. */
|
||||
size_t namlen = strlen (name);
|
||||
char name2[namlen + 1];
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < namlen; ++i)
|
||||
name2[i] = _tolower (name[i]);
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-03-15 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* sysdeps/pthread/configure.in: New file.
|
||||
* sysdeps/pthread/configure: New file (generated).
|
||||
|
||||
2003-03-15 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* allocatestack.c (allocate_stack): Store the exact stack size of
|
||||
|
Loading…
Reference in New Issue
Block a user