|
Boost-Build : |
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-08-06 10:36:02
Symptoms:
On windows when bjam is invoked with -d+2
it will (occasionally) print out the name
of a temporary batch file.
This is not very useful by itself since the
file is beeing deleted after run.
When using -d+4 instead it will print the
information whether the command is invoked
dircetly or via a bat file. This is also not
always enough.
I attached a small patch, so -d+4 will also
show the batchfiles content.
Roland aka speedsnail
Index: tools/jam/src/execnt.c
===================================================================
--- tools/jam/src/execnt.c (revision 38436)
+++ tools/jam/src/execnt.c (working copy)
@@ -268,8 +268,6 @@
}
fputs( command, f );
fclose( f );
-
- command = cmdtab[ slot ].tempfile_bat;
if( DEBUG_EXECCMD )
{
@@ -277,7 +275,10 @@
printf("using user-specified shell: %s", shell->string);
else
printf("Executing through .bat file\n");
+ printf("%s\n", command);
}
+
+ command = cmdtab[ slot ].tempfile_bat;
}
/* Formulate argv; If shell was defined, be prepared for % and ! subs. */
Boost-Build 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