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

Commit3e66e2b

Browse files
committed
make lock variable only used with fcntl
1 parent252568d commit3e66e2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.55 1998/10/06 02:31:39 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.56 1998/10/07 03:45:12 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -526,7 +526,9 @@ StreamServerPort(char *hostName, short portName, int *fdP)
526526
family;
527527
size_tlen;
528528
intone=1;
529+
#ifdefHAVE_FCNTL_SETLK
529530
intlock_fd;
531+
#endif
530532

531533
family= ((hostName!=NULL) ?AF_INET :AF_UNIX);
532534

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp