Subject: CVS commit: src/lib/libc/rpc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 05/18/2003 23:59:29
Module Name:	src
Committed By:	christos
Date:		Sun May 18 23:59:29 UTC 2003

Modified Files:
	src/lib/libc/rpc: xdr_rec.c

Log Message:
From Martin Blapp mb at imp dot ch, should fix PR/20768

Remove the special treatment off non-blocking mode in
xdrrec_eof(). This change broke seriously reading serialized
xdr-records. A end of a request could sometimes not
be recognized and the socket got closed too early.

Initialize in_reclen and in_received in a second case
if we get more outstanding records.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/lib/libc/rpc/xdr_rec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.