diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-18 16:05:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-18 16:05:57 +0000 |
commit | 30f22ab12d9b04b42bfcca4fe732a55a41a5f11f (patch) | |
tree | f8989180fbdeb0e5dda8834901f1f4589a4f6995 /nscd | |
parent | bbacd44b2a17982104a007218d46f76132abbed0 (diff) | |
download | glibc-30f22ab12d9b04b42bfcca4fe732a55a41a5f11f.tar.gz glibc-30f22ab12d9b04b42bfcca4fe732a55a41a5f11f.tar.xz glibc-30f22ab12d9b04b42bfcca4fe732a55a41a5f11f.zip |
Update.
1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from 1999-07-17 and adjust len parameter. * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. * manual/socket.texi (Host Names): Likewise. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. * resolv/gethnamaddr.c (gethostbyaddr): Likewise. (ht_gethostbyaddr): Likewise. (_gethtbyaddr): Likewise.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/gethstbyad_r.c | 4 | ||||
-rw-r--r-- | nscd/nscd_gethst_r.c | 2 | ||||
-rw-r--r-- | nscd/nscd_proto.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nscd/gethstbyad_r.c b/nscd/gethstbyad_r.c index c22044aac1..d68d4f258b 100644 --- a/nscd/gethstbyad_r.c +++ b/nscd/gethstbyad_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -23,7 +23,7 @@ #define LOOKUP_TYPE struct hostent #define FUNCTION_NAME gethostbyaddr #define DATABASE_NAME hosts -#define ADD_PARAMS const char *addr, int len, int type +#define ADD_PARAMS const char *addr, size_t len, int type #define ADD_VARIABLES addr, len, type #define NEED_H_ERRNO 1 #define NEED__RES 1 diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index 5dbe05d938..c4ab3642c5 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -67,7 +67,7 @@ __nscd_gethostbyname2_r (const char *name, int af, struct hostent *resultbuf, int -__nscd_gethostbyaddr_r (const char *addr, int len, int type, +__nscd_gethostbyaddr_r (const char *addr, size_t len, int type, struct hostent *resultbuf, char *buffer, size_t buflen, int *h_errnop) { diff --git a/nscd/nscd_proto.h b/nscd/nscd_proto.h index 760b57de76..d9b92bf066 100644 --- a/nscd/nscd_proto.h +++ b/nscd/nscd_proto.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@uni-paderborn.de>, 1998. @@ -45,7 +45,7 @@ extern int __nscd_gethostbyname2_r __P ((const char *name, int af, struct hostent *resultbuf, char *buffer, size_t buflen, int *h_errnop)); -extern int __nscd_gethostbyaddr_r __P ((const char *addr, int len, int type, +extern int __nscd_gethostbyaddr_r __P ((const char *addr, size_t len, int type, struct hostent *resultbuf, char *buffer, size_t buflen, int *h_errnop)); |