|
Boost-Commit : |
From: roland.schwarz_at_[hidden]
Date: 2007-08-06 16:20:27
Author: speedsnail
Date: 2007-08-06 16:20:26 EDT (Mon, 06 Aug 2007)
New Revision: 38483
URL: http://svn.boost.org/trac/boost/changeset/38483
Log:
A small fix, so -d+2 will always show the "real" commands being executed instead of casually the name of a temporary batch file.
Text files modified:
trunk/tools/jam/src/execnt.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/tools/jam/src/execnt.c
==============================================================================
--- trunk/tools/jam/src/execnt.c (original)
+++ trunk/tools/jam/src/execnt.c 2007-08-06 16:20:26 EDT (Mon, 06 Aug 2007)
@@ -199,7 +199,8 @@
char *argv_static[ MAXARGC + 1 ]; /* +1 for NULL */
char **argv = argv_static;
char *p;
-
+ char* command_orig = command;
+
/* Check to see if we need to hack around the line-length limitation. */
/* Look for a JAMSHELL setting of "%", indicating that the command
* should be invoked directly */
@@ -401,7 +402,7 @@
string_free( &cmdtab[ slot ].target );
string_new( &cmdtab[ slot ].target );
}
- string_copy( &cmdtab[ slot ].command, command );
+ string_copy( &cmdtab[ slot ].command, command_orig );
/* put together the comman we run */
{
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