Boost logo

Boost-Build :

Subject: [Boost-build] Cleanup execunix.c
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2010-01-05 18:13:58


Hi,

The attached patch ensures we close both file descriptors following
the dup2 call. This is mostly for completeness but also because I've
occasionally noticed output isn't flushed from a terminated process
(when it is killed for exceeding the time limit). I'm sure this
won't break anything and am slightly hopeful that it might ensure
output is flushed before the terminating process is killed.

Look reasonable?

-- Noel






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