]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_socket): Make sockets non-inheritable.
authorGeoff Voelker <voelker@cs.washington.edu>
Fri, 24 Apr 1998 04:35:05 +0000 (04:35 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Fri, 24 Apr 1998 04:35:05 +0000 (04:35 +0000)
src/w32.c

index 2cdccbe389a3129bf8c24e61db6f5284ac950a26..42027ae20520fd8a56b841ce0e49c719a35eed25 100644 (file)
--- a/src/w32.c
+++ b/src/w32.c
@@ -2180,7 +2180,7 @@ sys_socket(int af, int type, int protocol)
            if (!pfn_SetHandleInformation
                || !pfn_SetHandleInformation ((HANDLE) s,
                                              HANDLE_FLAG_INHERIT,
-                                             HANDLE_FLAG_INHERIT))
+                                             0))
              {
                DuplicateHandle (parent,
                                 (HANDLE) s,