You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/09/04 02:12:27 UTC

svn commit: r572459 - /apr/apr/branches/0.9.x/threadproc/win32/proc.c

Author: wrowe
Date: Mon Sep  3 17:12:26 2007
New Revision: 572459

URL: http://svn.apache.org/viewvc?rev=572459&view=rev
Log:
Fix cut and paste typo which scuttled the last release, this
caused StdOutput to never be inherited (something not noticed,
nor particularly interesting in httpd, which is how I missed it).

Backport: 572457

Modified:
    apr/apr/branches/0.9.x/threadproc/win32/proc.c

Modified: apr/apr/branches/0.9.x/threadproc/win32/proc.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/threadproc/win32/proc.c?rev=572459&r1=572458&r2=572459&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/threadproc/win32/proc.c (original)
+++ apr/apr/branches/0.9.x/threadproc/win32/proc.c Mon Sep  3 17:12:26 2007
@@ -684,8 +684,8 @@
                                          HANDLE_FLAG_INHERIT, 0);
 
                 si.hStdOutput = attr->child_out->filehand;
-                SetHandleInformation(si.hStdInput, HANDLE_FLAG_INHERIT,
-                                                   HANDLE_FLAG_INHERIT);
+                SetHandleInformation(si.hStdOutput, HANDLE_FLAG_INHERIT,
+                                                    HANDLE_FLAG_INHERIT);
             }
 
             si.hStdError = GetStdHandle(STD_ERROR_HANDLE);