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

Modified Files:
      Tag: Boost_Jam_994
        make1.c 
Log Message:
Passing the executed command and the command output to the dart rule, finally.



Index: make1.c
===================================================================
RCS file: /cvsroot/boost/boost/tools/jam/src/make1.c,v
retrieving revision 1.32.2.5
retrieving revision 1.32.2.6
diff -u -d -r1.32.2.5 -r1.32.2.6
--- make1.c     5 Jun 2007 14:56:01 -0000       1.32.2.5
+++ make1.c     6 Jun 2007 04:54:16 -0000       1.32.2.6
@@ -733,6 +733,11 @@
 {
     LIST* dart_rule;
     
+    /* note that the executed command and the 
+     * command output may be null */
+    if (!executed_command || !command_output)
+        return;
+
     pushsettings(target->settings);
     dart_rule = var_get( "__DART_RULE__" );
     popsettings(target->settings);
@@ -751,13 +756,12 @@
         append_int_string(frame->args, status);
         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 */
+        lol_add(frame->args, list_new(L0, newstr(executed_command)));
+        lol_add(frame->args, list_new(L0, newstr(command_output)));
 
         if( lol_get( frame->args, 2 ) )
             evaluate_rule( dart_rule->string, frame );
-            
+
         /* Clean up */
         frame_free( frame );
     }


-------------------------------------------------------------------------
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