Commit 5181d37e authored by Tom Lane's avatar Tom Lane

Remove no-longer-needed fcntl call (I'm not sure it *ever* did anything

useful, in fact).
parent d1c96330
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: pqcomm.c,v 1.118 2001/07/11 19:03:07 tgl Exp $ * $Id: pqcomm.c,v 1.119 2001/08/05 01:22:16 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -401,10 +401,9 @@ StreamConnection(int server_fd, Port *port) ...@@ -401,10 +401,9 @@ StreamConnection(int server_fd, Port *port)
} }
#ifdef SCO_ACCEPT_BUG #ifdef SCO_ACCEPT_BUG
/* /*
* UnixWare 7+ and OpenServer 5.0.4 are known to have this bug, but it * UnixWare 7+ and OpenServer 5.0.4 are known to have this bug, but it
* shouldn't hurt it catch if for all of them. * shouldn't hurt to catch it for all versions of those platforms.
*/ */
if (port->raddr.sa.sa_family == 0) if (port->raddr.sa.sa_family == 0)
port->raddr.sa.sa_family = AF_UNIX; port->raddr.sa.sa_family = AF_UNIX;
...@@ -438,9 +437,6 @@ StreamConnection(int server_fd, Port *port) ...@@ -438,9 +437,6 @@ StreamConnection(int server_fd, Port *port)
} }
} }
/* reset to non-blocking */
fcntl(port->sock, F_SETFL, 1);
return STATUS_OK; return STATUS_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment