[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17124: {torvm} Fix handle inheritance when dumping network config state. (torvm/trunk/build/win32/src/torvm-w32)



Author: coderman
Date: 2008-10-15 23:09:30 -0400 (Wed, 15 Oct 2008)
New Revision: 17124

Modified:
   torvm/trunk/build/win32/src/torvm-w32/torvm.c
Log:
Fix handle inheritance when dumping network config state.

Modified: torvm/trunk/build/win32/src/torvm-w32/torvm.c
===================================================================
--- torvm/trunk/build/win32/src/torvm-w32/torvm.c	2008-10-16 01:56:52 UTC (rev 17123)
+++ torvm/trunk/build/win32/src/torvm-w32/torvm.c	2008-10-16 03:09:30 UTC (rev 17124)
@@ -707,7 +707,7 @@
                      cmd,
                      NULL,   // process handle no inherit
                      NULL,   // thread handle no inherit
-                     FALSE,  // default handle inheritance false
+                     TRUE,   // must inherit handles for redirection to work
                      opts,
                      NULL,   // environment block
                      dir,
@@ -775,7 +775,7 @@
                      cmd,
                      NULL,   // process handle no inherit
                      NULL,   // thread handle no inherit
-                     TRUE,   // default handle inheritance false
+                     FALSE,  // default handle inheritance false
                      opts,
                      NULL,   // environment block
                      dir,