com php-src: Fix typos in code: ext/mysqlnd/mysqlnd_auth.c ext/opcache/Optimizer/compact_literals.c ext/opcache/z end_accelerator_module.c
ext/pdo_pgsql/pgsql_driver .c server-tests.php win32/build/template.rc

From: Date: Fri, 27 Jul 2018 14:27:41 +0000
Subject: com php-src: Fix typos in code: ext/mysqlnd/mysqlnd_auth.c ext/opcache/Optimizer/compact_literals.c ext/opcache/z end_accelerator_module.c
ext/pdo_pgsql/pgsql_driver .c server-tests.php win32/build/template.rc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102701@lists.php.net to get a copy of this message
Commit: cf8ef08e20f6b156c8cdf1bd926e4c34aac0952e Author: Peter Kokot <peterkokot@gmail.com> Thu, 26 Jul 2018 00:03:10 +0200 Parents: 0eabd5231b37105fd99b75cfb8c98735e5a3f83f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cf8ef08e20f6b156c8cdf1bd926e4c34aac0952e Log: Fix typos in code Changed paths: M ext/mysqlnd/mysqlnd_auth.c M ext/opcache/Optimizer/compact_literals.c M ext/opcache/zend_accelerator_module.c M ext/pdo_pgsql/pgsql_driver.c M server-tests.php M win32/build/template.rc Diff: diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c index b52e4b8..3111980 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -1049,7 +1049,7 @@ mysqlnd_caching_sha2_handle_server_response(struct st_mysqlnd_authentication_plu switch (result_packet.response_code) { case 3: - DBG_INF("fast path suceeded"); + DBG_INF("fast path succeeded"); DBG_VOID_RETURN; case 4: if (conn->vio->data->ssl || conn->unix_socket.s) { diff --git a/ext/opcache/Optimizer/compact_literals.c b/ext/opcache/Optimizer/compact_literals.c index b70f5c2..e10b9fe 100644 --- a/ext/opcache/Optimizer/compact_literals.c +++ b/ext/opcache/Optimizer/compact_literals.c @@ -333,7 +333,7 @@ void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx memset(map, 0, op_array->last_literal * sizeof(int)); for (i = 0; i < op_array->last_literal; i++) { if (!info[i].flags) { - /* unsed literal */ + /* unset literal */ zval_ptr_dtor_nogc(&op_array->literals[i]); continue; } diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 53afc2c..e2c73c6 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -262,7 +262,7 @@ static ZEND_INI_MH(OnUpdateFileCache) #else _access(ZSTR_VAL(new_value), 06) != 0) { #endif - zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessable directory.\n"); + zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessible directory.\n"); new_value = NULL; } } diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 863e37d..64be3cd 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -1064,7 +1064,7 @@ static PHP_METHOD(PDO, pgsqlGetNotify) RETURN_FALSE; #if ZEND_ENABLE_ZVAL_LONG64 } else if (ms_timeout > INT_MAX) { - php_error_docref(NULL, E_WARNING, "timeout was shrinked to %d", INT_MAX); + php_error_docref(NULL, E_WARNING, "timeout was shrunk to %d", INT_MAX); ms_timeout = INT_MAX; #endif } diff --git a/server-tests.php b/server-tests.php index 4f51c88..5f38e2f 100755 --- a/server-tests.php +++ b/server-tests.php @@ -413,7 +413,7 @@ class testHarness { 'm' => array('TEST_BASE_PATH' ,'path' ,NULL ,'copy tests to this path before testing'), 'n' => array('NO_PHPTEST_SUMMARY' ,'' ,0 ,'do not print test summary'), 'p' => array('TEST_PHP_EXECUTABLE' ,'path' ,NULL ,'php executable to be tested'), - 'q' => array('NO_INTERACTION' ,'' ,0 ,'no console interaction (ie dont contact QA)'), + 'q' => array('NO_INTERACTION' ,'' ,0 ,'no console interaction (ie don\'t contact QA)'), 'r' => array('REPORT_EXIT_STATUS' ,'' ,0 ,'exit with status at end of execution'), 's' => array('TEST_PHP_SRCDIR' ,'path' ,NULL ,'path to php source code'), 't' => array('TEST_PHP_DETAILED' ,'number' ,0 ,'level of detail output to dump'), diff --git a/win32/build/template.rc b/win32/build/template.rc index ed2b833..f26c980 100644 --- a/win32/build/template.rc +++ b/win32/build/template.rc @@ -1,7 +1,7 @@ /* This is a template RC file. * Do not edit with MSVC */ #ifdef APSTUDIO_INVOKED -# error dont edit with MSVC +# error Do not edit with MSVC #endif #include "winresrc.h"

« previous php.cvs (#102701) next »