aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-08-05 01:22:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-08-05 01:22:16 +0000
commit5181d37e4c88c2b622fe54feb74845320e36c71e (patch)
treef2009c8be3be482820857d7b64f03aa44e6d218b /src
parentd1c9633060fbb6c062e642e1b7e0d08bbd3d31ce (diff)
downloadpostgresql-5181d37e4c88c2b622fe54feb74845320e36c71e.tar.gz
postgresql-5181d37e4c88c2b622fe54feb74845320e36c71e.zip
Remove no-longer-needed fcntl call (I'm not sure it *ever* did anything
useful, in fact).
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/pqcomm.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index 81c57a4e8d7..56148c857b3 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -29,7 +29,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* 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)
}
#ifdef SCO_ACCEPT_BUG
-
/*
* 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)
port->raddr.sa.sa_family = AF_UNIX;
@@ -438,9 +437,6 @@ StreamConnection(int server_fd, Port *port)
}
}
- /* reset to non-blocking */
- fcntl(port->sock, F_SETFL, 1);
-
return STATUS_OK;
}