diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-02-13 05:10:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-02-13 05:10:35 +0000 |
commit | 795fbc9aa183e10526f6545e28cabf03be7feaf9 (patch) | |
tree | edd3bcf7232ce1753bfadfff17380b4b09589ca5 /resolv | |
parent | 00de59a632eecc23a5eb1ddbadb8a770cd481f43 (diff) | |
download | glibc-795fbc9aa183e10526f6545e28cabf03be7feaf9.tar.gz |
update from main archive 970212cvs/libc-970214cvs/libc-970213
1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com>
* time/time.h (__nanosleep): Define only when struct timespec is
also available.
Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
1997-02-12 21:34 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/netinet/udp.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com>
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
of 1997-02-09 in resolv/gethnamaddr.c.
1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
* libio/_G_config.h (_G_wint_t): New.
1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
* resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
to sizeof (buf.buf) while calling res_search ().
1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
* nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
val to keydat, stat to status.
1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de>
* time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com>
* db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
by Keith Bostic.
1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de>
* stdlib/atoll.c: Undefined atoll, not atol.
1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
unused arguments of shell script.
* Makeconfig (all-object-suffixes): New variable.
* Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
of $(object-suffixes).
* sysdeps/unix/make-syscalls.sh: Likewise. Fix comment.
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/gethnamaddr.c | 2 | ||||
-rw-r--r-- | resolv/nss_dns/dns-host.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c index 07da429cbf..424a6690ee 100644 --- a/resolv/gethnamaddr.c +++ b/resolv/gethnamaddr.c @@ -539,7 +539,7 @@ gethostbyname2(name, af) break; } - if ((n = res_search(name, C_IN, type, buf.buf, sizeof(buf))) < 0) { + if ((n = res_search(name, C_IN, type, buf.buf, sizeof(buf.buf))) < 0) { dprintf("res_search failed (%d)\n", n); if (errno == ECONNREFUSED) return (_gethtbyname2(name, af)); diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index 374da83429..959aa2f21d 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -151,7 +151,7 @@ _nss_dns_gethostbyname2_r (const char *name, int af, struct hostent *result, if (strchr (name, '.') == NULL && (cp = __hostalias (name)) != NULL) name = cp; - n = res_search (name, C_IN, type, host_buffer.buf, sizeof (host_buffer)); + n = res_search (name, C_IN, type, host_buffer.buf, sizeof (host_buffer.buf)); if (n < 0) return errno == ECONNREFUSED ? NSS_STATUS_UNAVAIL : NSS_STATUS_NOTFOUND; |