2004-09-28 Dick Porter <dick@ximian.com>
authorDick Porter <dick@acm.org>
Tue, 28 Sep 2004 13:09:31 +0000 (13:09 -0000)
committerDick Porter <dick@acm.org>
Tue, 28 Sep 2004 13:09:31 +0000 (13:09 -0000)
* io.c (pipe_close_private): Fix one small typo in the last change
that totally hosed process creation with redirected pipes.

svn path=/branches/mono-1-0/mono/; revision=34485

mono/io-layer/ChangeLog
mono/io-layer/io.c

index 1e8396bbe268d21b6f7f53dd6798d29f30978bf9..5178d3ac7bc600a02a2a1624a65850515410562a 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-28  Dick Porter  <dick@ximian.com>
+
+       * io.c (pipe_close_private): Fix one small typo in the last change
+       that totally hosed process creation with redirected pipes.
+
 2004-09-24  Dick Porter  <dick@ximian.com>
 
        * wapi-private.h: 
index d7434e99a7b3b02e626f97798423d8ac2560d30c..21708612564a5b72e79b6ae928b66f46f5eb4d4a 100644 (file)
@@ -1397,7 +1397,7 @@ static void pipe_close_private (gpointer handle)
                return;
        }
        
-       if (pipe_private_handle->fd_mapped.fd == TRUE) {
+       if (pipe_private_handle->fd_mapped.assigned == TRUE) {
 #ifdef DEBUG
                g_message(G_GNUC_PRETTY_FUNCTION
                          ": closing pipe handle %p with fd %d", handle,