changeset 21747:c11ef8945466

(sys_socket): Make sockets non-inheritable.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 24 Apr 1998 04:35:05 +0000
parents 2f7dcebcb9fd
children c423e8929f69
files src/w32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32.c	Fri Apr 24 03:26:18 1998 +0000
+++ b/src/w32.c	Fri Apr 24 04:35:05 1998 +0000
@@ -2180,7 +2180,7 @@
 	    if (!pfn_SetHandleInformation
 		|| !pfn_SetHandleInformation ((HANDLE) s,
 					      HANDLE_FLAG_INHERIT,
-					      HANDLE_FLAG_INHERIT))
+					      0))
 	      {
 		DuplicateHandle (parent,
 				 (HANDLE) s,