freebsd-dev/lib
Martin Blapp 22e4d31a81 Fix amd(8) clients, if a FreeBSD mountd(8) server is used.
Remove the special treatment of non-blocking mode in
the "look ahead function" xdrrec_eof(). It currently
assumes that the last read() in a row of several reads
does not have zero lenght. If this is the case, svc_vc_stat()
does return XPRT_MOREREQS, and the RPC-request aborts because
there is no data to read anymore.

To fix this, go back to the original version of the code
for non-blocking mode until NetBSD comes up with another
possible fix like this one in xdrrec_eof()

	if (rstrm->last_frag && rstrm->in_finger == rstrm->in_boundry) {
		return TRUE;
	}

Return always FALSE in set_input_fragment() for non-blocking
mode. Since this was not used in FreeBSD, I omitted it at the
first time. Now we use this function and we should always
return FALSE for it.

Reviewed by:	rwatson
Approved by:	re
2003-05-28 09:13:09 +00:00
..
compat
csu This is now Gcc 3.3 WARNS 6 clean. 2003-05-04 18:34:00 +00:00
libalias style.Makefile(5) 2003-04-20 18:38:59 +00:00
libatm fix __FBSDID 2003-04-20 18:41:16 +00:00
libbind
libbz2
libc Fix amd(8) clients, if a FreeBSD mountd(8) server is used. 2003-05-28 09:13:09 +00:00
libc_r mdoc(7) fixes. 2003-05-24 19:53:08 +00:00
libcalendar
libcam
libcom_err
libcompat The .Fn function 2003-03-24 16:02:05 +00:00
libcrypt Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
libdevinfo
libdevstat Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
libdisk Teach libdisk that AMD64 works just like i386 2003-04-30 21:03:16 +00:00
libedit
libexpat
libfetch Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
libform
libftpio
libgeom Moved libgeom.so dependencies to where they belong. 2003-05-17 19:05:17 +00:00
libio
libipsec Buffer size is not enough in the previous commit. Use 128. 2003-04-17 07:20:00 +00:00
libipx
libisc
libkse Change low-level locking a bit so that we can tell if 2003-05-24 02:29:25 +00:00
libkvm Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
libmd The .Fn function 2003-03-24 16:02:05 +00:00
libmenu
libmilter
libmp
libncp No need to have ifdef < FreeBSD 4.0-current in here. Remove it to 2003-04-04 04:16:06 +00:00
libncurses Symlink with -f. 2003-04-30 15:49:40 +00:00
libnetgraph
libopie
libpam mdoc(7) fixes. 2003-05-24 19:53:08 +00:00
libpanel
libpcap
libpthread mdoc(7) fixes. 2003-05-24 19:53:08 +00:00
libradius
librpcsvc
libsbuf
libsm
libsmb
libsmdb
libsmutil
libstand Restore bzip2(1) support in loader(8) after Peter's renames of 2003-04-25 06:44:56 +00:00
libtacplus
libtelnet
libthr Minimize the potential for deadlocks between an exiting thread and it's 2003-05-27 21:48:42 +00:00
libufs MFp4: Fix copy&paste English error. 2003-03-30 18:00:24 +00:00
libugidfw
libusbhid Assorted mdoc(7) fixes. 2003-05-22 13:02:28 +00:00
libutil Backout last commit. It is redundant in -CURRENT. 2003-05-05 06:25:03 +00:00
libvgl
libwrap Following MLINKS added, which point to host_access(3): 2003-05-12 21:59:16 +00:00
libxpg4
liby
libypclnt
libz In src/lib/libz/gzio.c the function gzprintf does not check if the 2003-03-14 01:47:01 +00:00
msun Fix two misuses of __BSD_VISIBLE. 2003-05-22 17:07:57 +00:00
ncurses Symlink with -f. 2003-04-30 15:49:40 +00:00
Makefile Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
Makefile.inc