diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-02 20:33:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-02 20:33:09 +0000 |
commit | 6027d26d8b829833f716743acfb6881bb4236627 (patch) | |
tree | 840fa61c5a691ce1152acc328f9bf86f140b3ff4 /winsup/cygwin/fhandler_socket.cc | |
parent | 94d61fcb762f88e1835fc531d20341a596b245f2 (diff) | |
download | cygnal-6027d26d8b829833f716743acfb6881bb4236627.tar.gz cygnal-6027d26d8b829833f716743acfb6881bb4236627.tar.bz2 cygnal-6027d26d8b829833f716743acfb6881bb4236627.zip |
Throughout, change name from set_inheritance to set_no_inheritance to better
reflect input arguments of this function.
* cygheap.h (CYGHEAPSIZE): Increase size of cygheap to something closer to the
21st century.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 22d322ff7..4285c87e5 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -200,7 +200,7 @@ fhandler_socket::create_secret_event (int* secret) debug_printf("create event %E"); else if (get_close_on_exec ()) /* Event allows inheritance, but handle will not be inherited */ - set_inheritance (secret_event, 1); + set_no_inheritance (secret_event, 1); return secret_event; } @@ -1300,9 +1300,9 @@ void fhandler_socket::set_close_on_exec (int val) { if (secret_event) - set_inheritance (secret_event, val); + set_no_inheritance (secret_event, val); if (!winsock2_active) /* < Winsock 2.0 */ - set_inheritance (get_handle (), val); + set_no_inheritance (get_handle (), val); set_close_on_exec_flag (val); debug_printf ("set close_on_exec for %s to %d", get_name (), val); } |