Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7285 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37589 invoked by uid 1010); 23 Jan 2004 00:59:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37525 invoked by uid 1007); 23 Jan 2004 00:59:40 -0000 Message-ID: <20040123005940.37524.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 23 Jan 2004 01:58:57 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031111 Debian/1.5-2.backports.org.1 X-Accept-Language: fr-fr MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040207020102010604040805" X-Posted-By: 193.251.80.145 Subject: Typos in pcntl.c From: didou@keliglia.com (Mehdi Achour) --------------040207020102010604040805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi ! Attached is a patch that will s/singal/signal in the file. didou --------------040207020102010604040805 Content-Type: text/plain; name="pcntl.c.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pcntl.c.patch.txt" 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, ¶m TSRMLS_CC); } /* Clear */ --------------040207020102010604040805--