Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5181d37

Browse files
committed
Remove no-longer-needed fcntl call (I'm not sure it *ever* did anything
useful, in fact).
1 parentd1c9633 commit5181d37

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
3030
* Portions Copyright (c) 1994, Regents of the University of California
3131
*
32-
*$Id: pqcomm.c,v 1.118 2001/07/11 19:03:07 tgl Exp $
32+
*$Id: pqcomm.c,v 1.119 2001/08/05 01:22:16 tgl Exp $
3333
*
3434
*-------------------------------------------------------------------------
3535
*/
@@ -401,10 +401,9 @@ StreamConnection(int server_fd, Port *port)
401401
}
402402

403403
#ifdefSCO_ACCEPT_BUG
404-
405404
/*
406405
* UnixWare 7+ and OpenServer 5.0.4 are known to have this bug, but it
407-
* shouldn't hurtit catchif for all ofthem.
406+
* shouldn't hurtto catchit for allversionsofthose platforms.
408407
*/
409408
if (port->raddr.sa.sa_family==0)
410409
port->raddr.sa.sa_family=AF_UNIX;
@@ -438,9 +437,6 @@ StreamConnection(int server_fd, Port *port)
438437
}
439438
}
440439

441-
/* reset to non-blocking */
442-
fcntl(port->sock,F_SETFL,1);
443-
444440
returnSTATUS_OK;
445441
}
446442

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp