diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-22 03:52:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-22 03:52:56 +0000 |
commit | 8a703496a20a46accae5154eb585ddb1f45e268c (patch) | |
tree | 7b8f29df6b3138cb7d2552f97b821271adeab4dd | |
parent | 7fc30094c7aba90d34d191b21be753607f4b391b (diff) | |
download | postgresql-8a703496a20a46accae5154eb585ddb1f45e268c.tar.gz postgresql-8a703496a20a46accae5154eb585ddb1f45e268c.zip |
getaddrinfo has no business doing unlink().
-rw-r--r-- | src/backend/libpq/ip.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/libpq/ip.c b/src/backend/libpq/ip.c index 009887b269a..abb0f725927 100644 --- a/src/backend/libpq/ip.c +++ b/src/backend/libpq/ip.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.6 2003/04/03 21:50:23 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.7 2003/04/22 03:52:56 tgl Exp $ * * This file and the IPV6 implementation were initially provided by * Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design @@ -159,9 +159,6 @@ getaddrinfo_unix(const char *path, const struct addrinfo *hintsp, unp->sun_len = sizeof(struct sockaddr_un); #endif /* SALEN */ - if (hints.ai_flags & AI_PASSIVE) - unlink(unp->sun_path); - return 0; } #endif /* HAVE_UNIX_SOCKETS */ |