diff options
| author | c9s <yoan@maicoin.com> | 2019-03-10 15:16:04 +0800 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-11 10:00:39 +0100 |
| commit | 9f6f6fe2199857ffc8eaab3f413c0fd18cca26f0 (patch) | |
| tree | bae0dfb17cf3ce342e6e6c0f5f741cbfe4874334 /ext/pcntl/pcntl.c | |
| parent | d9d253fa6bf8e89a48a3e4ce6a669c705564e254 (diff) | |
| download | php-git-9f6f6fe2199857ffc8eaab3f413c0fd18cca26f0.tar.gz | |
Remove function_table var from the caller
function_table var is not used in call_user_function macro anymore
hence replace the usage with NULL
Diffstat (limited to 'ext/pcntl/pcntl.c')
| -rw-r--r-- | ext/pcntl/pcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index ab7e58685c..1546e094f3 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -1497,7 +1497,7 @@ void pcntl_signal_dispatch() /* Call php signal handler - Note that we do not report errors, and we ignore the return value */ /* FIXME: this is probably broken when multiple signals are handled in this while loop (retval) */ - call_user_function(EG(function_table), NULL, handle, &retval, 2, params); + call_user_function(NULL, NULL, handle, &retval, 2, params); zval_ptr_dtor(&retval); #ifdef HAVE_STRUCT_SIGINFO_T zval_ptr_dtor(¶ms[1]); |
