head	1.2;
access;
symbols
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1
	RELEASE_3_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.04.16.18.58.32;	author kris;	state dead;
branches;
next	1.1;

1.1
date	99.10.22.09.35.49;	author nakai;	state Exp;
branches;
next	;


desc
@@


1.2
log
@This port has been broken for a long time, and is also obsolete
software.  Wave goodbye, now!

Approved by:	maintainer
@
text
@--- src/common/Dispatch/rpcbuf.C.orig	Wed Oct 20 19:42:58 1999
+++ src/common/Dispatch/rpcbuf.C	Wed Oct 20 19:44:12 1999
@@@@ -977,12 +977,20 @@@@
 // jfasch 24 Apr 1995
 int rpcbuf :: rpc_read (int fd, char* buf, int len) {
    int nread ;
+#ifdef __FreeBSD__
+   while ((nread = ::read (fd, buf, len)) < 0  &&  errno == EINTR) ;
+#else
    while ((nread = ::read (fd, buf, len)) < 0  &&  ::errno == EINTR) ;
+#endif
    return nread ;
 }
 int rpcbuf :: rpc_write (int fd, const char* buf, int len) {
    int nwritten ;
+#ifdef __FreeBSD__
+   while ((nwritten = ::write (fd, buf, len)) < 0  &&  errno == EINTR) ;
+#else
    while ((nwritten = ::write (fd, buf, len)) < 0  &&  ::errno == EINTR) ;
+#endif
    return nwritten ;
 }
 #endif
@


1.1
log
@Add some patches for the clean install.
@
text
@@

