Vincent Lefevre wrote:

>   Ignoring SIGINT and SIGQUIT in the parent process prevents
>   coordination problems (two processes reading from the same terminal,
>   for example) when the executed command ignores or catches one of the
>   signals.
>
> and from the example implementation, one can see that the previous
> actions are restored in the child, just before executing /bin/sh.

Ah, I should have remembered.  That's the right behavior for system(),
and it's what glibc does.  (I'm afraid I have no interest in fixing
the glibc manual, since its copyright holders have chosen to use an
unpleasant license and stick to it and there is better documentation
available elsewhere.)

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to