diff options
author | Anatol Belski <ab@php.net> | 2014-10-15 09:37:55 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-15 09:37:55 +0200 |
commit | c00424e427930a33e6d8645cc3f23fb78ed29b9f (patch) | |
tree | 83190e6ac9d0714fc971fe0925a0d935414de91c /ext/pcntl/php_signal.c | |
parent | 382f95e6127d52b079d172ccd017cf306402e015 (diff) | |
download | php-git-c00424e427930a33e6d8645cc3f23fb78ed29b9f.tar.gz |
bring back all the TSRMLS_FETCH() stuff
for better comparability with the mainstream
Diffstat (limited to 'ext/pcntl/php_signal.c')
-rw-r--r-- | ext/pcntl/php_signal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pcntl/php_signal.c b/ext/pcntl/php_signal.c index f19c8a9a25..aa2139342c 100644 --- a/ext/pcntl/php_signal.c +++ b/ext/pcntl/php_signal.c @@ -28,7 +28,9 @@ Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) { struct sigaction act,oact; - +#ifdef ZEND_SIGNALS + TSRMLS_FETCH(); +#endif act.sa_handler = func; if (mask_all) { sigfillset(&act.sa_mask); |