[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] Reset signal handlers in KProcess child
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-01-26 7:31:11
Message-ID: 20080126073111.GA19100 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 26.01.08 04:22:55, Robert Knight wrote:
> The attached patch causes KProcess to reset its child's signal
> handlers back to SIG_DFL in setupChildProcess().  Is this the right
> solution?

I can't say anything about the correctness of the patch, but...

> +void KProcess::setupChildProcess()
> +{
> +#ifndef Q_OS_WIN

The ifndef is not needed. QProcess calls this function only on MacOSX
and Unix according to the API docs.

Andreas

-- 
Don't kiss an elephant on the lips today.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic