|
Boost-Build : |
Subject: [Boost-build] Valgrind warnings in b2
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-03 12:39:41
AMDG
==3397== Syscall param rt_sigaction(act->sa_mask) points to
uninitialised byte(s)
==3397== at 0x18F417: __libc_sigaction (in /lib/libc-2.13.so)
==3397== by 0x8052CCE: main (jam.c:273)
==3397== Address 0xbefc073c is on thread 1's stack
The code is:
77009 noel_belcourt #if defined(unix) || defined(__unix)
77009 noel_belcourt sigset_t sigmask;
77009 noel_belcourt struct sigaction sa;
77009 noel_belcourt
77009 noel_belcourt sigemptyset(&sigmask);
77009 noel_belcourt sigaddset(&sigmask, SIGCHLD);
77009 noel_belcourt sigprocmask(SIG_BLOCK, &sigmask, NULL);
77009 noel_belcourt sa.sa_flags = 0;
77009 noel_belcourt sa.sa_handler = child_sig_handler;
77009 noel_belcourt sigaction(SIGCHLD, &sa, NULL);
77009 noel_belcourt sigemptyset(&empty_sigmask);
77009 noel_belcourt #endif
77009 noel_belcourt
In Christ,
Steven Watanabe
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