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.
This commit is contained in:
Christopher Faylor
2004-02-02 20:33:09 +00:00
parent 94d61fcb76
commit 6027d26d8b
9 changed files with 28 additions and 20 deletions

View File

@@ -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);
}