projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc3009
)
getaddrinfo has no business doing unlink().
author
Tom Lane
<
[email protected]
>
Tue, 22 Apr 2003 03:52:56 +0000
(
03:52
+0000)
committer
Tom Lane
<
[email protected]
>
Tue, 22 Apr 2003 03:52:56 +0000
(
03:52
+0000)
src/backend/libpq/ip.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/ip.c
b/src/backend/libpq/ip.c
index 009887b269a2fe1636afa977dca1a52f076114c5..abb0f725927f5b900310c5e83b8411874ec88683 100644
(file)
--- 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 <
[email protected]
>, 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 */