From: Geoff Voelker Date: Fri, 24 Apr 1998 04:35:05 +0000 (+0000) Subject: (sys_socket): Make sockets non-inheritable. X-Git-Tag: emacs-20.3~1329 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=caf1a1721277d0e2af2345423f8d78bbd1379bf4;p=emacs.git (sys_socket): Make sockets non-inheritable. --- 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) if (!pfn_SetHandleInformation || !pfn_SetHandleInformation ((HANDLE) s, HANDLE_FLAG_INHERIT, - HANDLE_FLAG_INHERIT)) + 0)) { DuplicateHandle (parent, (HANDLE) s,