>i suppose the handler should not be restored if it was Perl's, something >along the lines of (on top of take2 patch): Exactly! this kind of thing is common in programs that do sigmasks or tty mode masks. The typical mistake is set noecho do something unset noecho or block sigfoo do something unblock sigfoo In both cases the bug is the same: you shouldn't undo something that was already undone to start with. --tom
- [PATCH 5.6.0] local $SIG{FOO} restoration Doug MacEachern
- Re: [PATCH 5.6.0] local $SIG{FOO} restoration Doug MacEachern
- Re: [PATCH 5.6.0] local $SIG{FOO} restoration Hugo
- Re: [PATCH 5.6.0] local $SIG{FOO} restoration Doug MacEachern
- Tom Christiansen