]> granicus.if.org Git - php/commitdiff
Fix #78880: Yet another batch of spelling errors
authorMáté Kocsis <kocsismate@woohoolabs.com>
Thu, 16 Jan 2020 11:04:00 +0000 (12:04 +0100)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Thu, 16 Jan 2020 11:04:00 +0000 (12:04 +0100)
23 files changed:
.gitignore
ext/fileinfo/tests/finfo_buffer_basic-mb.phpt
ext/fileinfo/tests/finfo_buffer_basic.phpt
ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt
ext/fileinfo/tests/finfo_buffer_variation1.phpt
ext/openssl/openssl.c
ext/snmp/tests/snmp2_set.phpt
ext/snmp/tests/snmpset.phpt
ext/standard/tests/array/array_filter_variation4.phpt
ext/standard/tests/array/array_filter_variation7.phpt
sapi/fpm/fpm/events/poll.c
sapi/fpm/fpm/fpm_conf.c
sapi/fpm/fpm/fpm_events.c
sapi/fpm/fpm/fpm_log.c
sapi/fpm/fpm/fpm_main.c
sapi/fpm/fpm/fpm_signals.c
sapi/fpm/tests/fcgi.inc
sapi/fpm/www.conf.in
sapi/litespeed/lsapilib.c
win32/build/confutils.js
win32/build/mkdist.php
win32/nice.c
win32/sendmail.c

index 587f4abc42593c96e70cd485591673647ba263b5..dc63cce7d7a62670a469a1f84bb4e579726840f4 100644 (file)
@@ -191,7 +191,7 @@ php
 /configure.bat
 /configure.js
 
-# Generated by `/configure.(bat|js)` (architecture dependend)
+# Generated by `/configure.(bat|js)` (architecture dependent)
 /config.nice.bat
 
 # NTS debug build x86
index 04eb0e60ded4bf9fa5da1ce367adcdd4bf233561..ab6f042a0ba7ba57ed3a50c87ec26d921d675861 100644 (file)
@@ -5,7 +5,7 @@ Test finfo_buffer() function : basic functionality
 --FILE--
 <?php
 /* Prototype  : string finfo_buffer(resource finfo, char *string [, int options [, resource context]])
- * Description: Return infromation about a string buffer.
+ * Description: Return information about a string buffer.
  * Source code: ext/fileinfo/fileinfo.c
  * Alias to functions:
  */
index 24bfbcde50aad341cb1593ddad64a5f0683d5e81..2aeb9eb36bb66fb0aacb5cb9754cd1f64a6254ef 100644 (file)
@@ -5,7 +5,7 @@ Test finfo_buffer() function : basic functionality
 --FILE--
 <?php
 /* Prototype  : string finfo_buffer(resource finfo, char *string [, int options [, resource context]])
- * Description: Return infromation about a string buffer.
+ * Description: Return information about a string buffer.
  * Source code: ext/fileinfo/fileinfo.c
  * Alias to functions:
  */
index df9b079f3bf567abb8d912b9bcfc94c6f96057bb..4560aeabe6ab4b9357054e6abf4241ce17cc468b 100644 (file)
@@ -5,7 +5,7 @@ Test finfo_buffer() function : basic functionality
 --FILE--
 <?php
 /* Prototype  : string finfo_buffer(resource finfo, char *string [, int options [, resource context]])
- * Description: Return infromation about a string buffer.
+ * Description: Return information about a string buffer.
  * Source code: ext/fileinfo/fileinfo.c
  * Alias to functions:
  */
index 1b4da1edc215fa53254fee1b52af2c3d15b05249..75c0099f200767e2c568b352381f4137b00af563 100644 (file)
@@ -5,7 +5,7 @@ Test finfo_buffer() function : basic functionality
 --FILE--
 <?php
 /* Prototype  : string finfo_buffer(resource finfo, char *string [, int options [, resource context]])
- * Description: Return infromation about a string buffer.
+ * Description: Return information about a string buffer.
  * Source code: ext/fileinfo/fileinfo.c
  * Alias to functions:
  */
index bdfd16b9d61764afbbc88dfdd079ecb6a4b5aa96..a132a636780df354bf5ae4d0be077e5b9f07166e 100644 (file)
@@ -851,7 +851,7 @@ static int php_openssl_parse_config(struct php_x509_request * req, zval * option
                str = CONF_get_string(req->req_config, req->section_name, "encrypt_rsa_key");
                if (str == NULL) {
                        str = CONF_get_string(req->req_config, req->section_name, "encrypt_key");
-                       /* it is sure that there are some errrors as str was NULL for encrypt_rsa_key */
+                       /* it is sure that there are some errors as str was NULL for encrypt_rsa_key */
                        php_openssl_store_errors();
                }
                if (str != NULL && strcmp(str, "no") == 0) {
index 78b3675bb4e4f957a64ed5dc240981c190bedadd..01c66d96f5315236af5aafc50d4eec35e8f1e269 100644 (file)
@@ -105,7 +105,7 @@ var_dump($z);
 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2));
 
-echo "Multiple OID & type, singe value in array\n";
+echo "Multiple OID & type, single value in array\n";
 $z = snmp2_set($hostname, $communityWrite, array($oid1, $oid2), array('s', 's'), array($newvalue1), $timeout, $retries);
 var_dump($z);
 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
@@ -208,7 +208,7 @@ Warning: snmp2_set(): '%s': no type set in %s on line %d
 bool(false)
 bool(true)
 bool(true)
-Multiple OID & type, singe value in array
+Multiple OID & type, single value in array
 
 Warning: snmp2_set(): '%s': no value set in %s on line %d
 bool(false)
index b1bb26c15ac281786c1298a1753f8f7ce50bbc86..a870ab1ca6bcec5e0217abe9d4b5a895653017cb 100644 (file)
@@ -105,7 +105,7 @@ var_dump($z);
 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
 var_dump((snmpget($hostname, $communityWrite, $oid2, $timeout, $retries) === $oldvalue2));
 
-echo "Multiple OID & type, singe value in array\n";
+echo "Multiple OID & type, single value in array\n";
 $z = snmpset($hostname, $communityWrite, array($oid1, $oid2), array('s', 's'), array($newvalue1), $timeout, $retries);
 var_dump($z);
 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
@@ -208,7 +208,7 @@ Warning: snmpset(): '%s': no type set in %s on line %d
 bool(false)
 bool(true)
 bool(true)
-Multiple OID & type, singe value in array
+Multiple OID & type, single value in array
 
 Warning: snmpset(): '%s': no value set in %s on line %d
 bool(false)
index f8b71dc10b75d3a885f283f69061f76f452610f5..dcf1b905b119d5062603e7442bfceea1d9906291 100644 (file)
@@ -32,7 +32,7 @@ var_dump( array_filter($input, "callback1") );
 function callback2($input)
 {
 }
-echo "-- Callback funciton with parameter and without return --\n";
+echo "-- Callback function with parameter and without return --\n";
 var_dump( array_filter($input, "callback2") );
 
 
@@ -79,7 +79,7 @@ array(8) {
   ["null"]=>
   NULL
 }
--- Callback funciton with parameter and without return --
+-- Callback function with parameter and without return --
 array(0) {
 }
 -- Callback function without parameter and return --
index efbe141fe56cef08e8aad37400d9808ec7232e25..2ecda7a5d89267843046a5f2faf3da40a359a018 100644 (file)
@@ -24,7 +24,7 @@ echo "Anonymous callback function with reference parameter\n";
 var_dump( array_filter($input, function(&$input) { return ($input < 1); }) );
 
 // anonymous callback function with null argument
-echo "Anonymous callback funciton with null argument\n";
+echo "Anonymous callback function with null argument\n";
 var_dump( array_filter($input, function() { return true; }) );
 
 // anonymous callback function with argument and null statement
@@ -55,7 +55,7 @@ array(4) {
   [7]=>
   NULL
 }
-Anonymous callback funciton with null argument
+Anonymous callback function with null argument
 array(8) {
   [0]=>
   int(0)
index 9ea0722698abdc4f550e7a1f454c5ca6520cbd84..ad18d0bdeaa21084c775e8bf59359df2861ffe31 100644 (file)
@@ -216,7 +216,7 @@ static int fpm_event_poll_add(struct fpm_event_s *ev) /* {{{ */
                return 0;
        }
 
-       zlog(ZLOG_ERROR, "poll: not enought space to add event (fd=%d)", ev->fd);
+       zlog(ZLOG_ERROR, "poll: not enough space to add event (fd=%d)", ev->fd);
        return -1;
 }
 /* }}} */
index 64449ac785472336ffb3aeca59ade862de569d5d..116b07fdff9ac12916e0d38a33ece248441390cf 100644 (file)
@@ -899,7 +899,7 @@ static int fpm_conf_process_all_pools() /* {{{ */
 
                        for (i = 0; i < strlen(ping); i++) {
                                if (!isalnum(ping[i]) && ping[i] != '/' && ping[i] != '-' && ping[i] != '_' && ping[i] != '.' && ping[i] != '~') {
-                                       zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must containt only the following characters '[alphanum]/_-.~'", wp->config->name, ping);
+                                       zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must contain only the following characters '[alphanum]/_-.~'", wp->config->name, ping);
                                        return -1;
                                }
                        }
index 86592050c6ba567ffe8a113377b458e8b266464f..35b0ef8bb0eca831e8c5fd2ebf944332fdf4f0a3 100644 (file)
@@ -83,7 +83,7 @@ static void fpm_got_signal(struct fpm_event_s *ev, short which, void *arg) /* {{
                                /* epoll_wait() may report signal fd before read events for a finished child
                                 * in the same bunch of events. Prevent immediate free of the child structure
                                 * and so the fpm_event_s instance. Otherwise use after free happens during
-                                * attemp to process following read event. */
+                                * attempt to process following read event. */
                                fpm_event_set_timer(&children_bury_timer, 0, &fpm_postponed_children_bury, NULL);
                                fpm_event_add(&children_bury_timer, 0);
                                break;
index a09e80a49067a9e438ec7266ef633840cf7f8cdd..6f1e517a9fdead9f32d991497718a9d50e923ca5 100644 (file)
@@ -310,7 +310,7 @@ int fpm_log_write(char *log_format) /* {{{ */
                                                                continue;
                                                        }
 
-                                                       /* test if enought char after the header name + ': ' */
+                                                       /* test if enough char after the header name + ': ' */
                                                        if (h->header_len <= format_len + 2) {
                                                                h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
                                                                continue;
index 1b7472f47ba1eaa3c1669bb98814392340679168..5a7d3cb3207197f09fa6418f18c2cb5a52cee6fc 100644 (file)
@@ -1908,7 +1908,7 @@ consult the installation file that came with this distribution, or visit \n\
                        }
 
                        /*
-                        * have to duplicate SG(request_info).path_translated to be able to log errrors
+                        * have to duplicate SG(request_info).path_translated to be able to log errors
                         * php_fopen_primary_script seems to delete SG(request_info).path_translated on failure
                         */
                        primary_script = estrdup(SG(request_info).path_translated);
index d3214b3d162d9689f618ce4d71d6b34805b2be3d..f5a5ae5ec1743f2056ae55860861046718c4dde2 100644 (file)
@@ -197,7 +197,7 @@ int fpm_signals_init_main() /* {{{ */
        }
 
        if (0 > fcntl(sp[0], F_SETFD, FD_CLOEXEC) || 0 > fcntl(sp[1], F_SETFD, FD_CLOEXEC)) {
-               zlog(ZLOG_SYSERROR, "falied to init signals: fcntl(F_SETFD, FD_CLOEXEC)");
+               zlog(ZLOG_SYSERROR, "failed to init signals: fcntl(F_SETFD, FD_CLOEXEC)");
                return -1;
        }
 
index 38dc3b8518ac759ac8c912773826320c98d26d57..0d16e5ba0ba170dcdbc91522968f275446a327f1 100644 (file)
@@ -485,7 +485,7 @@ class Client
     }
 
     /**
-     * Execute a request to the FastCGI application asyncronously
+     * Execute a request to the FastCGI application asynchronously
      *
      * This sends request to application and returns the assigned ID for that request.
      *
index e49bae485d3d8324711fe662bb8663ff49de8d01..381d3b39c4837998154946cfafaf90cf6ab2f700 100644 (file)
@@ -275,7 +275,7 @@ pm.max_spare_servers = 3
 ;      - %{micro}d
 ;  %e: an environment variable (same as $_ENV or $_SERVER)
 ;      it must be associated with embraces to specify the name of the env
-;      variable. Some exemples:
+;      variable. Some examples:
 ;      - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
 ;      - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
 ;  %f: script filename
index c398e412588f96bbe4c92d4178edc4690f864da6..6cf4cddb9cb1fe7b59a97d44932d50aac485427a 100644 (file)
@@ -937,7 +937,7 @@ static int lsapi_enterLVE( LSAPI_Request * pReq, uid_t uid )
         ret = (*fp_lve_enter)(s_lve, uid, -1, -1, &cookie);
         if ( ret < 0 )
         {
-            lsapi_log("enter LVE (%d) : ressult: %d !\n", uid, ret );
+            lsapi_log("enter LVE (%d) : result: %d !\n", uid, ret );
             LSAPI_perror_r(pReq, "LSAPI: lve_enter() failure, reached resource limit.", NULL );
             lsapi_lve_error( pReq );
             return -1;
@@ -957,7 +957,7 @@ static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw )
     ret = (*fp_lve_jail)( pw, error_msg );
     if ( ret < 0 )
     {
-        lsapi_log("LSAPI: LVE jail(%d) ressult: %d, error: %s !\n",
+        lsapi_log("LSAPI: LVE jail(%d) result: %d, error: %s !\n",
                   uid, ret, error_msg );
         LSAPI_perror_r( pReq, "LSAPI: jail() failure.", NULL );
         return -1;
index 625dc9377d323f4c3eb500ec9a8af0c3388a5681..560ce8a9789410fafa97355fba61cf8c9990b575 100644 (file)
@@ -2327,7 +2327,7 @@ function generate_phpize()
        MF.WriteLine("var PHP_MINOR_VERSION=" + PHP_MINOR_VERSION);
        MF.WriteLine("var PHP_RELEASE_VERSION=" + PHP_RELEASE_VERSION);
        MF.WriteBlankLines(1);
-       MF.WriteLine("/* Genereted extensions list with mode (static/shared) */");
+       MF.WriteLine("/* Generated extensions list with mode (static/shared) */");
 
        var count = extensions_enabled.length;
        for (i in extensions_enabled) {
@@ -2338,7 +2338,7 @@ function generate_phpize()
        }
 
        MF.WriteBlankLines(2);
-       MF.WriteLine("/* Genereted win32/build/phpize.js.in */");
+       MF.WriteLine("/* Generated win32/build/phpize.js.in */");
        MF.WriteBlankLines(1);
        MF.Write(file_get_contents("win32/build/phpize.js.in"));
        MF.Close();
@@ -3088,8 +3088,8 @@ function toolset_get_compiler_name(short)
                        return name;
                } if (version >= 1920) {
                        /* NOTE - VS is intentional. Due to changes in recent Visual Studio
-                                               versioning scheme refering to the exact VC++ version is
-                                               hardly predictable. From this version on, it refers to 
+                                               versioning scheme referring to the exact VC++ version is
+                                               hardly predictable. From this version on, it refers to
                                                Visual Studio version and implies the default toolset.
                                                When new versions are introduced, adapt also checks in
                                                php_win32_image_compatible(), if needed. */
index 6f1f071148f645dba2559f6abe5b3faa5ba08148..c119530c03de29e5ade9633bb7d5019e3fd271af 100644 (file)
@@ -284,7 +284,7 @@ Build: $build_dir
 
 EOT
 );
-/* list build-in extensions */
+/* list built-in extensions */
 $exts = get_loaded_extensions();
 fprintf($fp, "\r\nBuilt-in Extensions\r\n");
 fwrite($fp, "===========================\r\n");
index 181f6856d200f9db17ac8551daec9a7ba030912d..4b2d38836225534ec50b71e1521240ae891ae49c 100644 (file)
@@ -54,7 +54,7 @@
  *   . PROCESS_MODE_BACKGROUND_BEGIN
  *   . PROCESS_MODE_BACKGROUND_END
  *     Process mode is not covered because it can easily forgotten to be changed
- *     back and can cause unforseen side effects that is hard to debug. Besides
+ *     back and can cause unforeseen side effects that is hard to debug. Besides
  *     that, these do generally not really fit into making a Windows somewhat
  *     compatible nice() function.
  */
index 212eea4bcc5378e7a3736e2d9489e2aeef9a6fe6..b685ab262f2f2046fb130a61253292bddb249dcc 100644 (file)
@@ -114,7 +114,7 @@ static char *ErrorMessages[] =
 
 /* This function is meant to unify the headers passed to to mail()
  * This means, use PCRE to transform single occurrences of \n or \r in \r\n
- * As a second step we also eleminate all \r\n occurrences which are:
+ * As a second step we also eliminate all \r\n occurrences which are:
  * 1) At the start of the header
  * 2) At the end of the header
  * 3) Two or more occurrences in the header are removed so only one is left
@@ -887,7 +887,7 @@ again:
        /* Check for newline */
        Index += rlen;
 
-       /* SMPT RFC says \r\n is the only valid line ending, who are we to argue ;)
+       /* SMTP RFC says \r\n is the only valid line ending, who are we to argue ;)
         * The response code must contain at least 5 characters ex. 220\r\n */
        if (Received < 5 || buf[Received - 1] != '\n' || buf[Received - 2] != '\r') {
                goto again;
@@ -958,7 +958,7 @@ static unsigned long GetAddr(LPSTR szHost)
 // Name:  int FormatEmailAddress
 // Input:
 // Output:
-// Description: Formats the email address to remove any content ouside
+// Description: Formats the email address to remove any content outside
 //   of the angle brackets < > as per RFC 2821.
 //
 //   Returns the invalidly formatted mail address if the < > are