diff options
author | foobar <sniper@php.net> | 2004-01-23 07:02:15 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2004-01-23 07:02:15 +0000 |
commit | ad1ccd68ebadabd695c839fc0d1ca29b5f125abe (patch) | |
tree | 68cc3f9e0fd635b7072cec8aafe4492015903a75 | |
parent | 6a1d0114a7d8434642880c518ff4626a4c0852e1 (diff) | |
download | php-git-ad1ccd68ebadabd695c839fc0d1ca29b5f125abe.tar.gz |
typofix (thanks to Mehdi Achour for noticing this)
-rwxr-xr-x | ext/pcntl/pcntl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index ba1222017d..687c76d65f 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -520,7 +520,7 @@ PHP_FUNCTION(pcntl_signal) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for handle argument specifEied"); } if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning singal"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning signal"); RETURN_FALSE; } RETURN_TRUE; @@ -538,7 +538,7 @@ PHP_FUNCTION(pcntl_signal) if (dest_handle) zval_add_ref(dest_handle); if (php_signal(signo, pcntl_signal_handler, (int) restart_syscalls) == SIG_ERR) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning singal"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning signal"); RETURN_FALSE; } RETURN_TRUE; @@ -671,7 +671,7 @@ void pcntl_tick_handler() ZVAL_LONG(param, *signal_num); - /* Call php singal handler - Note that we do not report errors, and we ignore the return value */ + /* Call php signal handler - Note that we do not report errors, and we ignore the return value */ call_user_function(EG(function_table), NULL, *handle, retval, 1, ¶m TSRMLS_CC); } /* Clear */ |