summaryrefslogtreecommitdiff
path: root/ext/pcntl
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-01-16 09:46:47 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-01-16 09:46:47 +0100
commit0b4778c377a5753a0deb9cfc697d4f62acf93a29 (patch)
tree1513cbdabd00e0c43ed9750107787791060a8398 /ext/pcntl
parent9d7e03c325473024e54c864f0379efc1bbf03e72 (diff)
downloadphp-git-0b4778c377a5753a0deb9cfc697d4f62acf93a29.tar.gz
Fix #78880: Another bunch of spelling errors
Diffstat (limited to 'ext/pcntl')
-rw-r--r--ext/pcntl/php_signal.c2
-rw-r--r--ext/pcntl/tests/001.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcntl/php_signal.c b/ext/pcntl/php_signal.c
index ba65996c1d..44d92dabd0 100644
--- a/ext/pcntl/php_signal.c
+++ b/ext/pcntl/php_signal.c
@@ -19,7 +19,7 @@
#include "Zend/zend.h"
#include "Zend/zend_signal.h"
-/* php_signal using sigaction is derived from Advanced Programing
+/* php_signal using sigaction is derived from Advanced Programming
* in the Unix Environment by W. Richard Stevens p 298. */
Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all)
{
diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt
index b9587e1325..fe96d50f04 100644
--- a/ext/pcntl/tests/001.phpt
+++ b/ext/pcntl/tests/001.phpt
@@ -61,7 +61,7 @@ function test_stop_signal(){
if ( pcntl_wifstopped($status) ) {
$signal_print=pcntl_wstopsig($status);
if ($signal_print==SIGSTOP) $signal_print="SIGSTOP";
- print "\nProcess was stoped by signal : ". $signal_print;
+ print "\nProcess was stopped by signal : ". $signal_print;
}
posix_kill($pid, SIGCONT);
}
@@ -82,4 +82,4 @@ Testing pcntl_wifsignaled....
Process was terminated by signal : SIGTERM
Testing pcntl_wifstopped and pcntl_wstopsig....
-Process was stoped by signal : SIGSTOP
+Process was stopped by signal : SIGSTOP