|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49883 - trunk/tools/jam/src
From: grafikrobot_at_[hidden]
Date: 2008-11-22 21:37:45
Author: grafik
Date: 2008-11-22 21:37:44 EST (Sat, 22 Nov 2008)
New Revision: 49883
URL: http://svn.boost.org/trac/boost/changeset/49883
Log:
Let the child bjam commands inherit stdin, as some commands assume it's available. (fixes #1577)
Text files modified:
trunk/tools/jam/src/execnt.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/tools/jam/src/execnt.c
==============================================================================
--- trunk/tools/jam/src/execnt.c (original)
+++ trunk/tools/jam/src/execnt.c 2008-11-22 21:37:44 EST (Sat, 22 Nov 2008)
@@ -403,6 +403,9 @@
si.hStdError = cmdtab[ slot ].pipe_out[ 1 ];
}
+ /* Let the child inherit stdin, as some commands assume it's available. */
+ si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
+
/* Save the operation for exec_wait() to find. */
cmdtab[ slot ].func = func;
cmdtab[ slot ].closure = closure;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk