Bug fixes resulting from stress testing the process forking code with
authorDick Porter <dick@acm.org>
Mon, 6 Sep 2004 14:16:02 +0000 (14:16 -0000)
committerDick Porter <dick@acm.org>
Mon, 6 Sep 2004 14:16:02 +0000 (14:16 -0000)
commit57e8bec3ed8e6327ff195e5af84ae49c179f2aa3
tree4723167a050a8da4441b258bab12c0ba3e237393
parent9e0efb6ec3d765fe96cac071089f2ba3c87204b9
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
mono/io-layer/ChangeLog
mono/io-layer/daemon.c
mono/io-layer/handles.c
mono/metadata/ChangeLog
mono/metadata/process.c