Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: deadlock caused by gettext usage in a signal handler



Le Fri, 07 Dec 2007 11:27:12 +0000,
Peter Stephenson <pws@xxxxxxx> a écrit :

> +    queue_signals();
>      pid = fork();
> -    signal_setmask(signals);
> +    unqueue_signals();

OK, tested it, works fine.

The following comment in signals.h made a lot of sense to me though ;-)
* it is probably overkill for zsh to do this

-- 
Guillaume



Messages sorted by: Reverse Date, Date, Thread, Author