Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3-0]: src/lib/libc/rpc Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/fe2de6e639dd
branches: netbsd-3-0
changeset: 579315:fe2de6e639dd
user: ghen <ghen%NetBSD.org@localhost>
date: Tue Oct 24 08:30:15 2006 +0000
description:
Pull up following revision(s) (requested by tron in ticket #1558):
lib/libc/rpc/svc_vc.c: revision 1.20
Only retry if we were able to clean up some descriptors, otherwise we get
into an infinite loop.
diffstat:
lib/libc/rpc/svc_vc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r e7017923c0a2 -r fe2de6e639dd lib/libc/rpc/svc_vc.c
--- a/lib/libc/rpc/svc_vc.c Mon Oct 23 19:30:16 2006 +0000
+++ b/lib/libc/rpc/svc_vc.c Tue Oct 24 08:30:15 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svc_vc.c,v 1.12 2003/01/18 11:29:07 thorpej Exp $ */
+/* $NetBSD: svc_vc.c,v 1.12.10.1 2006/10/24 08:30:15 ghen Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
static char *sccsid = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: svc_vc.c,v 1.12 2003/01/18 11:29:07 thorpej Exp $");
+__RCSID("$NetBSD: svc_vc.c,v 1.12.10.1 2006/10/24 08:30:15 ghen Exp $");
#endif
#endif
@@ -333,8 +333,8 @@
*/
if (errno == EMFILE || errno == ENFILE) {
cleanfds = svc_fdset;
- __svc_clean_idle(&cleanfds, 0, FALSE);
- goto again;
+ if (__svc_clean_idle(&cleanfds, 0, FALSE))
+ goto again;
}
return (FALSE);
}
Home |
Main Index |
Thread Index |
Old Index