Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc PR/20768: Martin Blapp: Remove special handling...
details: https://anonhg.NetBSD.org/src/rev/add36015adbc
branches: trunk
changeset: 552818:add36015adbc
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 03 21:29:16 2003 +0000
description:
PR/20768: Martin Blapp: Remove special handling for non-blocking connections
that breaks amd clients.
diffstat:
lib/libc/rpc/xdr_rec.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (34 lines):
diff -r eac8411db278 -r add36015adbc lib/libc/rpc/xdr_rec.c
--- a/lib/libc/rpc/xdr_rec.c Fri Oct 03 20:57:29 2003 +0000
+++ b/lib/libc/rpc/xdr_rec.c Fri Oct 03 21:29:16 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr_rec.c,v 1.23 2003/05/19 09:26:15 fvdl Exp $ */
+/* $NetBSD: xdr_rec.c,v 1.24 2003/10/03 21:29:16 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
static char *sccsid = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: xdr_rec.c,v 1.23 2003/05/19 09:26:15 fvdl Exp $");
+__RCSID("$NetBSD: xdr_rec.c,v 1.24 2003/10/03 21:29:16 christos Exp $");
#endif
#endif
@@ -500,15 +500,6 @@
XDR *xdrs;
{
RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
- enum xprt_stat xstat;
-
- if (rstrm->nonblock) {
- if (__xdrrec_getrec(xdrs, &xstat, FALSE))
- return FALSE;
- if (!rstrm->in_haveheader && xstat == XPRT_IDLE)
- return TRUE;
- return FALSE;
- }
while (rstrm->fbtbc > 0 || (! rstrm->last_frag)) {
if (!skip_input_bytes(rstrm, rstrm->fbtbc))
Home |
Main Index |
Thread Index |
Old Index