Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-11-09 19:39:10


Hi,

There's a problem in execunix.c where I don't set the correct process
termination status if the process crashes or otherwise fails to exit
through normal channels (by calling exit() or_exit(), or exiting
through main). This patch marks the process termination status as
having failed if it doesn't exit through normal channels.

If there's no objection, I'll get this committed to trunk.

-- Noel

Index: tools/jam/src/execunix.c
===================================================================
--- tools/jam/src/execunix.c (revision 40978)
+++ tools/jam/src/execunix.c (working copy)
@@ -475,6 +475,10 @@
                              else
                                  cmdtab[i].exit_reason = EXIT_FAIL;
                          }
+ else
+ {
+ cmdtab[i].exit_reason = EXIT_FAIL;
+ }


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