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

Commit8a70349

Browse files
committed
getaddrinfo has no business doing unlink().
1 parent7fc3009 commit8a70349

File tree

1 file changed

+1
-4
lines changed
  • src/backend/libpq

1 file changed

+1
-4
lines changed

‎src/backend/libpq/ip.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.6 2003/04/03 21:50:23 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.7 2003/04/22 03:52:56 tgl Exp $
1212
*
1313
* This file and the IPV6 implementation were initially provided by
1414
* Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design
@@ -159,9 +159,6 @@ getaddrinfo_unix(const char *path, const struct addrinfo *hintsp,
159159
unp->sun_len=sizeof(structsockaddr_un);
160160
#endif/* SALEN */
161161

162-
if (hints.ai_flags&AI_PASSIVE)
163-
unlink(unp->sun_path);
164-
165162
return0;
166163
}
167164
#endif/* HAVE_UNIX_SOCKETS */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp