On Mon, Sep 15, 2008 at 06:05:27PM +0200, Peter Palfrader wrote:
> This is really an issue that should be fixed for lenny (if present), and
> maybe even for etch, still.

I think this is fixed in lenny already. The current sigdie function
reads:

void
sigdie(const char *fmt,...)
{
#ifdef DO_LOG_SAFE_IN_SIGHAND
        va_list args;

        va_start(args, fmt);
        do_log(SYSLOG_LEVEL_FATAL, fmt, args);
        va_end(args);
#endif
        _exit(1);
}

defines.h has:

#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) && \
    defined(SYSLOG_R_SAFE_IN_SIGHAND)
# define DO_LOG_SAFE_IN_SIGHAND
#endif

The easiest element of this conjunction to check is
SYSLOG_R_SAFE_IN_SIGHAND, which configure only defines on OpenBSD.

-- 
Colin Watson                                       [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to