]> granicus.if.org Git - php/commitdiff
typo fixes (accommodate, parameter)
authorVeres Lajos <vlajos@gmail.com>
Mon, 22 Apr 2013 12:41:27 +0000 (13:41 +0100)
committerStanislav Malyshev <stas@php.net>
Mon, 10 Jun 2013 20:36:03 +0000 (13:36 -0700)
README.PARAMETER_PARSING_API
ext/pdo/pdo_sql_parser.c
ext/pdo/pdo_sql_parser.re
ext/soap/php_sdl.c
ext/sqlite3/libsqlite/sqlite3.c
ext/sqlite3/sqlite3.c
ext/standard/user_filters.c
sapi/isapi/stresstest/stresstest.cpp
win32/glob.c

index 927e48188cc9396f33cd320d4f1c0a38ae5c9964..4579340e5e217fc0a69cd2740c000bf8dfb0301e 100644 (file)
@@ -32,7 +32,7 @@ resources cannot be auto-converted.
 Type specifiers
 ---------------
  The following list shows the type specifier, its meaning and the parameter 
- types that need to be passed by address. All passed paramaters are set
+ types that need to be passed by address. All passed parameters are set
  if the PHP parameter is non optional and untouched if optional and the 
  parameter is not present. The only exception is O where the zend_class_entry*
  has to be provided on input and is used to verify the PHP parameter is an 
index 4219762a4b53c337440770c1a697a796f1e60b51..4c523506c4554ed7997eed4de60d45786167ac34 100644 (file)
@@ -761,9 +761,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
                while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
                        if(param->parameter) {
                                convert_to_string(param->parameter);
-                               /* accomodate a string that needs to be fully quoted
+                               /* accommodate a string that needs to be fully quoted
                    bind placeholders are at least 2 characters, so
-                   the accomodate their own "'s
+                   the accommodate their own "'s
                 */
                                newbuffer_len += padding * Z_STRLEN_P(param->parameter);
                        }
index d4272d679b5876b035a5cc9c5c6fb3df28c2cb12..80e3b4f95f6f0e09756c395a36a057b9b07fce8f 100644 (file)
@@ -408,9 +408,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
                while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
                        if(param->parameter) {
                                convert_to_string(param->parameter);
-                               /* accomodate a string that needs to be fully quoted
+                               /* accommodate a string that needs to be fully quoted
                    bind placeholders are at least 2 characters, so
-                   the accomodate their own "'s
+                   the accommodate their own "'s
                 */
                                newbuffer_len += padding * Z_STRLEN_P(param->parameter);
                        }
index 33e137cbbb70c03851bfe2e35b4cd32c20105df1..0ac4c2ed7a9bf87bb454db58ae3d969eef36f244 100644 (file)
@@ -40,8 +40,8 @@ static void delete_binding(void *binding);
 static void delete_binding_persistent(void *binding);
 static void delete_function(void *function);
 static void delete_function_persistent(void *function);
-static void delete_parameter(void *paramater);
-static void delete_parameter_persistent(void *paramater);
+static void delete_parameter(void *parameter);
+static void delete_parameter_persistent(void *parameter);
 static void delete_header(void *header);
 static void delete_header_persistent(void *header);
 static void delete_document(void *doc_ptr);
index d96367e2120f1038b70678e9f0a50feb844016d3..cdcb48b5a9b1fc03b187771a0e3729b74aa614ea 100644 (file)
@@ -93617,7 +93617,7 @@ SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pF
 **         without worrying about messing up the presistent representation
 **         of the view.
 **
-**    (3)  Add terms to the WHERE clause to accomodate the NATURAL keyword
+**    (3)  Add terms to the WHERE clause to accommodate the NATURAL keyword
 **         on joins and the ON and USING clause of joins.
 **
 **    (4)  Scan the list of columns in the result set (pEList) looking
@@ -96115,7 +96115,7 @@ SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect(
 /*
 ** This is called to code the required FOR EACH ROW triggers for an operation
 ** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE)
-** is given by the op paramater. The tr_tm parameter determines whether the
+** is given by the op parameter. The tr_tm parameter determines whether the
 ** BEFORE or AFTER triggers are coded. If the operation is an UPDATE, then
 ** parameter pChanges is passed the list of columns being modified.
 **
index df449d7380239163a3257c28d6a63543ff68d4f5..2aef0414aab69728a123a0e833bbc03bf6db0b1a 100644 (file)
@@ -1409,7 +1409,7 @@ static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *pa
 /* }}} */
 
 /* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
-   Bind Paramater to a stmt variable. */
+   Bind Parameter to a stmt variable. */
 PHP_METHOD(sqlite3stmt, bindParam)
 {
        php_sqlite3_stmt *stmt_obj;
index b009e67aa155d1fe91903d5dcfb54c376d7f5e4c..b44be124a15eb4869d766b5e2e891c62e0255a10 100644 (file)
@@ -474,7 +474,7 @@ static void php_stream_bucket_attach(int append, INTERNAL_FUNCTION_PARAMETERS)
        } else {
                php_stream_bucket_prepend(brigade, bucket TSRMLS_CC);
        }
-       /* This is a hack necessary to accomodate situations where bucket is appended to the stream
+       /* This is a hack necessary to accommodate situations where bucket is appended to the stream
         * multiple times. See bug35916.phpt for reference.
         */
        if (bucket->refcount == 1) {
index 97824e6be8c85dd57e4f5fe2faf65b3a9b9c044f..9a5964a6ba7f2001cd936b455d58a005c1b80c54 100644 (file)
@@ -796,7 +796,7 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest,
 
        switch(dwHSERequest) {
                case (HSE_REQ_SEND_RESPONSE_HEADER) :
-                       lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accomodate our header
+                       lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accommodate our header
                        if (!lpszRespBuf)
                                return FALSE;
                        wsprintf(lpszRespBuf,"%s",
index a197f3bbee99720521e9e5098abd7f35364ab33a..1aeac78fda076802d5be0145c172d43f8ae738c8 100644 (file)
@@ -689,7 +689,7 @@ glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last,
 
 
 /*
- * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
+ * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
  * add the new item, and update gl_pathc.
  *
  * This assumes the BSD realloc, which only copies the block when its size