On Tue, Feb 26, 2002 at 06:51:01PM +0000, Angus Leeming wrote:

> BufferView_pimpl.C:     int const pid = waitpid(static_cast<pid_t>(0), &status, 
>WNOHANG);
> 
> So you're saying that 
>       void sigchldchecker(pid_t pid, int * status)
> in figinset.C should be moved into the forkedcontr?

yes, or something similar.

> Incdentally, why is this code in figinset.C? Not that it matters.

This is the asynch completion for insetfigure, reimplementation of strerror() and all

Things have changed since I last looked, and it seems the spellchecker doesn't use
sigchldhandler() anymore. It looks like a bug to me - the fork in sp_spell.C isn't 
waited
for at any point. This will leave a zombie every spellcheck afaics.

It probably comes from :

2001-07-13  Edwin Leuven  <[EMAIL PROTECTED]>
 
        * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
        cursorToggle()

Edwin ?

Also we can excise updatelist now I think. At last, cursorToggle can do only
what it should.

> Well done for finding the bug. Care to have a go?

sure why not ?

john

-- 
"This is just the kind of crackpot scheme I've been looking to champion!!!"
        - P.M. Hartke on 6U campaign

Reply via email to