Bug fixes resulting from stress testing the process forking code with
Timeline.
2004-09-06 Dick Porter <dick@ximian.com>
* handles.c (_wapi_handle_unref): Reset the private record's type
(CloseHandle): Check for a fd mapping failure, and return FALSE.
(_wapi_handle_process_fork): Fix long-standing bug in checking
handle return values. Also do the required bookkeeping with the
new process's handles.
* daemon.c: When creating a new process's handles, check whether
the shared space needs to be increased
2004-09-06 Dick Porter <dick@ximian.com>
* process.c (ves_icall_System_Diagnostics_Process_Start_internal):
Close the new process's thread handle, as we don't use it. The
handle stays around forever otherwise.
svn path=/trunk/mono/; revision=33406