summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-31 14:35:10 +0000
committerMarcus Boerger <helly@php.net>2003-08-31 14:35:10 +0000
commit733e90bf0ab376f6d1e8253ba292131653768855 (patch)
tree5cc8c987bdf435d2666b60eb7582475a22966038 /ext/pcntl/pcntl.c
parent2a744ccb90cc5ac435c6efbb8ab046f80fd248de (diff)
downloadphp-git-733e90bf0ab376f6d1e8253ba292131653768855.tar.gz
No dots at the end of error messages
Diffstat (limited to 'ext/pcntl/pcntl.c')
-rwxr-xr-xext/pcntl/pcntl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index 2718ff3c0b..636742f85a 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -534,13 +534,13 @@ PHP_FUNCTION(pcntl_getpriority)
if (errno) {
switch (errno) {
case ESRCH:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: No process was located using the given parameters.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: No process was located using the given parameters", errno);
break;
case EINVAL:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Invalid identifier flag.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Invalid identifier flag", errno);
break;
default:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown error %d has occured.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown error %d has occured", errno);
break;
}
RETURN_FALSE;
@@ -567,19 +567,19 @@ PHP_FUNCTION(pcntl_setpriority)
if (setpriority(who, pid, pri)) {
switch (errno) {
case ESRCH:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: No process was located using the given parameters.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: No process was located using the given parameters", errno);
break;
case EINVAL:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Invalid identifier flag.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Invalid identifier flag", errno);
break;
case EPERM:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: A process was located, but neither its effective nor real user ID matched the effective user ID of the caller.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: A process was located, but neither its effective nor real user ID matched the effective user ID of the caller", errno);
break;
case EACCES:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Only a super user may attempt to increase the process priority.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: Only a super user may attempt to increase the process priority", errno);
break;
default:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown error %d has occured.", errno);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown error %d has occured", errno);
break;
}
RETURN_FALSE;