Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55042 - trunk/tools/jam/src
From: ghost_at_[hidden]
Date: 2009-07-20 06:10:20


Author: vladimir_prus
Date: 2009-07-20 06:10:19 EDT (Mon, 20 Jul 2009)
New Revision: 55042
URL: http://svn.boost.org/trac/boost/changeset/55042

Log:
If command fails, print its output even for -d0.

Text files modified:
   trunk/tools/jam/src/output.c | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/jam/src/output.c
==============================================================================
--- trunk/tools/jam/src/output.c (original)
+++ trunk/tools/jam/src/output.c 2009-07-20 06:10:19 EDT (Mon, 20 Jul 2009)
@@ -78,8 +78,8 @@
           break;
     }
 
- /* Print out the command output, if requested. */
- if ( action )
+ /* Print out the command output, if requested, or if the program failed. */
+ if ( action || exit_reason != EXIT_OK)
     {
         /* But only output for non-quietly actions. */
         if ( ( 0 != out_data ) &&


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