[Mono-bugs] [Bug 75733][Nor] Changed - [PATCH] The io-layer sometimes creates handles with a value of NULL

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 7 16:42:54 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dick at ximian.com.


--- shadow/75733	2006-10-07 11:02:51.000000000 -0400
+++ shadow/75733.tmp.17433	2006-10-07 16:42:54.000000000 -0400
@@ -95,6 +95,17 @@
 -               process_info->hThread = NULL;
 +               process_info->hThread = INVALID_HANDLE_VALUE;
                 process_info->dwThreadId = 0;
+------- Additional Comments From dick at ximian.com  2006-10-07 16:42 -------
+This is meant to happen, it's not a bug.
+It's because we map file descriptors to handles directly.  I know
+windows doesn't return NULL handles, but there's no getting around it
+on linux and still keep the fd mapping feature that I didn't want to
+implement in the first place anyway :)
+Miguel's patch looks good; the real bug is in process.c.

More information about the mono-bugs mailing list