This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sighandler: only inc SS_ix for unsafe signals
authorDavid Mitchell <davem@iabyn.com>
Sat, 19 Mar 2011 21:49:34 +0000 (21:49 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 19 Mar 2011 22:03:40 +0000 (22:03 +0000)
commita0d63a7b47ac164b69b3e18cd902f52584a190fc
tree8d51d5501660c1b1dfa410cf3518ae7ce5bd88eb
parent9a7f166c9e80e6dce5b942cb7af5fc213e0466d4
Perl_sighandler: only inc SS_ix for unsafe signals

Perl_sighandler currently increments the savestack by 5
before running a signal handler, to avoid messing with a
partially completed SS push operation that's been interrupted.

This is irrelevant for safe signals, so make this action conditional on
unsafe signals only.
mg.c