Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77220 - trunk/tools/build/v2/engine
From: kbelco_at_[hidden]
Date: 2012-03-04 12:23:45


Author: noel_belcourt
Date: 2012-03-04 12:23:44 EST (Sun, 04 Mar 2012)
New Revision: 77220
URL: http://svn.boost.org/trac/boost/changeset/77220

Log:
Eliminate uninitialized memory problem with sigemptyset.

Text files modified:
   trunk/tools/build/v2/engine/jam.c | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/engine/jam.c
==============================================================================
--- trunk/tools/build/v2/engine/jam.c (original)
+++ trunk/tools/build/v2/engine/jam.c 2012-03-04 12:23:44 EST (Sun, 04 Mar 2012)
@@ -270,7 +270,7 @@
     sigprocmask(SIG_BLOCK, &sigmask, NULL);
     sa.sa_flags = 0;
     sa.sa_handler = child_sig_handler;
- /* sigemptyset(&sa.sa_mask); */
+ sigemptyset(&sa.sa_mask);
     sigaction(SIGCHLD, &sa, NULL);
     sigemptyset(&empty_sigmask);
 #endif


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