]> granicus.if.org Git - php/commitdiff
MFH: typofix
authorfoobar <sniper@php.net>
Fri, 23 Jan 2004 07:02:54 +0000 (07:02 +0000)
committerfoobar <sniper@php.net>
Fri, 23 Jan 2004 07:02:54 +0000 (07:02 +0000)
ext/pcntl/pcntl.c

index 62639987ebe3b4bf8622604a31893a88a8192418..070c9f2bae57d1cc7a40418081d12ce85d89a390 100755 (executable)
@@ -473,7 +473,7 @@ PHP_FUNCTION(pcntl_signal)
                        php_error(E_WARNING, "Invalid value for handle argument specifEied in %s", get_active_function_name(TSRMLS_C));
                }
                if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
-                       php_error(E_WARNING, "Error assigning singal in %s", get_active_function_name(TSRMLS_C));
+                       php_error(E_WARNING, "Error assigning signal in %s", get_active_function_name(TSRMLS_C));
                        RETURN_FALSE;
                }
                RETURN_TRUE;
@@ -491,7 +491,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(E_WARNING, "Error assigning singal in %s", get_active_function_name(TSRMLS_C));
+               php_error(E_WARNING, "Error assigning signal in %s", get_active_function_name(TSRMLS_C));
                RETURN_FALSE;
        }
        RETURN_TRUE;
@@ -547,7 +547,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 eturn value */
+               /* Call php signal handler - Note that we do not report errors, and we ignore the eturn value */
                call_user_function(EG(function_table), NULL, *handle, retval, 1, &param TSRMLS_CC);
        }
        /* Clear */