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.48;	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/connect.C.orig	Wed Oct 20 19:39:20 1999
+++ src/common/Dispatch/connect.C	Wed Oct 20 19:41:38 1999
@@@@ -102,7 +102,11 @@@@
        if ((iError=WSAGetLastError()) != WSAEWOULDBLOCK) {
          cerr << "ConnectRequest::ConnectRequest(): ::connect() code:" << iError<<endl;
 #else
+#ifdef __FreeBSD__
+       if (errno != EINPROGRESS) {
+#else
        if (::errno != EINPROGRESS) {
+#endif
            ::perror ("ConnectRequest::ConnectRequest(): ::connect()") ;
 #endif
            HGSOCKCLOSE (socket_) ;
@@@@ -154,7 +158,11 @@@@
    sockaddr_in that ;
    int thatlen = sizeof (that) ;
    if (::getpeername (fd, (sockaddr*)&that, &thatlen) < 0) {
+#ifdef __FreeBSD__
+      if (! (errno==ENOTCONN || errno==ECONNREFUSED))
+#else
       if (! (::errno==ENOTCONN || ::errno==ECONNREFUSED))
+#endif
          ::perror ("ConnectRequest::outputReady(): ::getpeername()") ;
       callback->connectError (a) ;
       ::close (fd) ;
@


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

