Update of /cvsroot/boost/boost/tools/jam/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4745

Modified Files:
      Tag: Boost_Jam_994
        make1.c 
Log Message:
Passed the executed command and command output into the call_dart_rule function.



Index: make1.c
===================================================================
RCS file: /cvsroot/boost/boost/tools/jam/src/make1.c,v
retrieving revision 1.32.2.4
retrieving revision 1.32.2.5
diff -u -d -r1.32.2.4 -r1.32.2.5
--- make1.c     4 Jun 2007 23:38:43 -0000       1.32.2.4
+++ make1.c     5 Jun 2007 14:56:01 -0000       1.32.2.5
@@ -725,10 +725,11 @@
 }
 
 /* Look up the __DART_RULE__ variable on the given target, and if
- * non-empty, invoke the rule it names, passing the given
- * timing_info
+ * non-empty, invoke the rule it names, passing the given info, 
+ * timing_info, executed command and command output
  */
-static void call_dart_rule(TARGET* target, int status, timing_info* time)
+static void call_dart_rule(TARGET* target, int status, timing_info* time,
+    char *executed_command, char *command_output)
 {
     LIST* dart_rule;
     
@@ -751,6 +752,9 @@
         append_double_string(frame->args, time->user);
         append_double_string(frame->args, time->system);
 
+        /* note that the executed command and the 
+         * command output may be null */
+
         if( lol_get( frame->args, 2 ) )
             evaluate_rule( dart_rule->string, frame );
             
@@ -770,7 +774,7 @@
     if (DEBUG_EXECCMD)
         printf("%f sec system; %f sec user\n", time->system, time->user);
 
-    call_dart_rule(built, status, time);
+    call_dart_rule(built, status, time, executed_command, command_output);
     
     push_state(&state_stack, built, NULL, T_STATE_MAKE1D)->status = status;
 }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to