[tor-commits] [tor/master] Fix the windows test failure caused by the #15435 changes.

nickm at torproject.org nickm at torproject.org
Thu Apr 2 15:08:39 UTC 2015


commit 38c8e0bfc5d08b6c20a30e094a474da5db2e06bf
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Thu Apr 2 03:25:51 2015 +0000

    Fix the windows test failure caused by the #15435 changes.
---
 src/common/util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/util.c b/src/common/util.c
index 7379da6..f8d1b7b 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -4074,7 +4074,7 @@ tor_spawn_background(const char *const filename, const char **argv,
       format_win32_error(GetLastError()));
     return status;
   }
-  if (!SetHandleInformation(stderr_pipe_write, HANDLE_FLAG_INHERIT, 0)) {
+  if (!SetHandleInformation(stdin_pipe_write, HANDLE_FLAG_INHERIT, 0)) {
     log_warn(LD_GENERAL,
       "Failed to configure pipe for stdin communication with child "
       "process: %s", format_win32_error(GetLastError()));



More information about the tor-commits mailing list