diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-29 22:42:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-29 22:42:30 +0000 |
commit | 999b2f6bd7c194dff96e323fffbbe59564bfc1ee (patch) | |
tree | d7b70093f07ff8458a02e92c6a72a7b15a8ec41b /nis | |
parent | cf26217d2cabf23e09233f2ba9dbfd4138942868 (diff) | |
download | glibc-999b2f6bd7c194dff96e323fffbbe59564bfc1ee.tar.gz |
Update.
1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1998-09-29 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
* sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
* sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
Add net/if_shaper.h.
* libio/libio.h [!__STDC__]: Define const only if not defined.
Diffstat (limited to 'nis')
-rw-r--r-- | nis/ypclnt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 945765c6e9..826b759b25 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -690,6 +690,7 @@ yp_all (const char *indomain, const char *inmap, clnt = clnttcp_create (&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0); if (clnt == NULL) { + __yp_unbind (ydb); __set_errno (saved_errno); return YPERR_PMAP; } @@ -711,6 +712,7 @@ yp_all (const char *indomain, const char *inmap, else res = YPERR_SUCCESS; + __yp_unbind (ydb); clnt_destroy (clnt); if (status != YP_NOMORE) |