aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1998-04-24 04:35:05 +0000
committerGeoff Voelker1998-04-24 04:35:05 +0000
commitcaf1a1721277d0e2af2345423f8d78bbd1379bf4 (patch)
treea3a4273a697830c4864fe01bbb9adf6209a427c6 /src
parentea444b40e903393b4b59b3cc516c203c5bbfb5a5 (diff)
downloademacs-caf1a1721277d0e2af2345423f8d78bbd1379bf4.tar.gz
emacs-caf1a1721277d0e2af2345423f8d78bbd1379bf4.zip
(sys_socket): Make sockets non-inheritable.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 2cdccbe389a..42027ae2052 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -2180,7 +2180,7 @@ sys_socket(int af, int type, int protocol)
2180 if (!pfn_SetHandleInformation 2180 if (!pfn_SetHandleInformation
2181 || !pfn_SetHandleInformation ((HANDLE) s, 2181 || !pfn_SetHandleInformation ((HANDLE) s,
2182 HANDLE_FLAG_INHERIT, 2182 HANDLE_FLAG_INHERIT,
2183 HANDLE_FLAG_INHERIT)) 2183 0))
2184 { 2184 {
2185 DuplicateHandle (parent, 2185 DuplicateHandle (parent,
2186 (HANDLE) s, 2186 (HANDLE) s,