Boost logo

Boost-Build :

From: Zak Kipling (zak.kipling_at_[hidden])
Date: 2002-11-19 12:14:45


If you execute jam with no explicit target specified, it exits with
"EXITOK" regardless of whether the build actually succeeds... the bug
appears to be due to a missing check on the return value of make() and
is fixed by the following patch against boost 1.29.0 (still applicable
to HEAD).

Zak.

----- Patch follows -----

diff -Nru boost_1_29_0-orig/tools/build/jam_src/jam.c boost_1_29_0/tools/build/jam_src/jam.c
--- boost_1_29_0-orig/tools/build/jam_src/jam.c 2002-11-19 4:50:32.000000000 +0000
+++ boost_1_29_0/tools/build/jam_src/jam.c 2002-11-19 14:56:26.000000000 +0000
@@ -408,7 +408,7 @@
{
LIST* targets = targets_to_update();
if ( !targets )
- make( 1, &all, anyhow );
+ status |= make( 1, &all, anyhow );
else
{
int targets_count = list_length(targets);

 


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