[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:       Thiago Macieira <thiago () kde ! org>
Date:       2008-01-26 8:58:19
Message-ID: 200801260958.20256.thiago () kde ! org
[Download RAW message or body]


Thiago Macieira wrote:
>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?
>
>No. It appears that this affects QProcess as well and should be fixed
>there.

Hmm... this is not a K/QProcess bug. I guess it's a kdm bug for leaking 
its signal configuration.

I'm not going to add this to QProcess. But KProcess may take this as a 
method: 
	setResetSignals(bool enable)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

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

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