]> granicus.if.org Git - php/commitdiff
No dots at the end of error messages
authorMarcus Boerger <helly@php.net>
Sun, 31 Aug 2003 14:35:10 +0000 (14:35 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 31 Aug 2003 14:35:10 +0000 (14:35 +0000)
ext/pcntl/pcntl.c

index 2718ff3c0bece60aaf2418a18d2123f3003e376a..636742f85a01195566c6146c569fbab1b197da91 100755 (executable)
@@ -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;