diff options
| author | Geoff Voelker | 1998-04-24 04:35:05 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-04-24 04:35:05 +0000 |
| commit | caf1a1721277d0e2af2345423f8d78bbd1379bf4 (patch) | |
| tree | a3a4273a697830c4864fe01bbb9adf6209a427c6 /src | |
| parent | ea444b40e903393b4b59b3cc516c203c5bbfb5a5 (diff) | |
| download | emacs-caf1a1721277d0e2af2345423f8d78bbd1379bf4.tar.gz emacs-caf1a1721277d0e2af2345423f8d78bbd1379bf4.zip | |
(sys_socket): Make sockets non-inheritable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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, |