Hi !

Attached is a patch that will s/singal/signal in the file.

didou
Index: pcntl.c
===================================================================
RCS file: /repository/php-src/ext/pcntl/pcntl.c,v
retrieving revision 1.40
diff -u -r1.40 pcntl.c
--- pcntl.c     28 Oct 2003 17:08:18 -0000      1.40
+++ pcntl.c     23 Jan 2004 00:57:28 -0000
@@ -520,7 +520,7 @@
                        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 @@
        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 @@
 
                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, 
&param TSRMLS_CC);
        }
        /* Clear */

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to