Skip to content

Commit ed2e84e

Browse files
vlajossmalyshev
authored andcommitted
typo fixes (accommodate, parameter)
1 parent 7a1e670 commit ed2e84e

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

README.PARAMETER_PARSING_API

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resources cannot be auto-converted.
3232
Type specifiers
3333
---------------
3434
The following list shows the type specifier, its meaning and the parameter
35-
types that need to be passed by address. All passed paramaters are set
35+
types that need to be passed by address. All passed parameters are set
3636
if the PHP parameter is non optional and untouched if optional and the
3737
parameter is not present. The only exception is O where the zend_class_entry*
3838
has to be provided on input and is used to verify the PHP parameter is an

ext/pdo/pdo_sql_parser.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
761761
while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
762762
if(param->parameter) {
763763
convert_to_string(param->parameter);
764-
/* accomodate a string that needs to be fully quoted
764+
/* accommodate a string that needs to be fully quoted
765765
bind placeholders are at least 2 characters, so
766-
the accomodate their own "'s
766+
the accommodate their own "'s
767767
*/
768768
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
769769
}

ext/pdo/pdo_sql_parser.re

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
408408
while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
409409
if(param->parameter) {
410410
convert_to_string(param->parameter);
411-
/* accomodate a string that needs to be fully quoted
411+
/* accommodate a string that needs to be fully quoted
412412
bind placeholders are at least 2 characters, so
413-
the accomodate their own "'s
413+
the accommodate their own "'s
414414
*/
415415
newbuffer_len += padding * Z_STRLEN_P(param->parameter);
416416
}

ext/soap/php_sdl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ static void delete_binding(void *binding);
4040
static void delete_binding_persistent(void *binding);
4141
static void delete_function(void *function);
4242
static void delete_function_persistent(void *function);
43-
static void delete_parameter(void *paramater);
44-
static void delete_parameter_persistent(void *paramater);
43+
static void delete_parameter(void *parameter);
44+
static void delete_parameter_persistent(void *parameter);
4545
static void delete_header(void *header);
4646
static void delete_header_persistent(void *header);
4747
static void delete_document(void *doc_ptr);

ext/sqlite3/libsqlite/sqlite3.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -93617,7 +93617,7 @@ SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pF
9361793617
** without worrying about messing up the presistent representation
9361893618
** of the view.
9361993619
**
93620-
** (3) Add terms to the WHERE clause to accomodate the NATURAL keyword
93620+
** (3) Add terms to the WHERE clause to accommodate the NATURAL keyword
9362193621
** on joins and the ON and USING clause of joins.
9362293622
**
9362393623
** (4) Scan the list of columns in the result set (pEList) looking
@@ -96115,7 +96115,7 @@ SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect(
9611596115
/*
9611696116
** This is called to code the required FOR EACH ROW triggers for an operation
9611796117
** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE)
96118-
** is given by the op paramater. The tr_tm parameter determines whether the
96118+
** is given by the op parameter. The tr_tm parameter determines whether the
9611996119
** BEFORE or AFTER triggers are coded. If the operation is an UPDATE, then
9612096120
** parameter pChanges is passed the list of columns being modified.
9612196121
**

ext/sqlite3/sqlite3.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *pa
14091409
/* }}} */
14101410

14111411
/* {{{ proto bool SQLite3Stmt::bindParam(int parameter_number, mixed parameter [, int type])
1412-
Bind Paramater to a stmt variable. */
1412+
Bind Parameter to a stmt variable. */
14131413
PHP_METHOD(sqlite3stmt, bindParam)
14141414
{
14151415
php_sqlite3_stmt *stmt_obj;

ext/standard/user_filters.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static void php_stream_bucket_attach(int append, INTERNAL_FUNCTION_PARAMETERS)
474474
} else {
475475
php_stream_bucket_prepend(brigade, bucket TSRMLS_CC);
476476
}
477-
/* This is a hack necessary to accomodate situations where bucket is appended to the stream
477+
/* This is a hack necessary to accommodate situations where bucket is appended to the stream
478478
* multiple times. See bug35916.phpt for reference.
479479
*/
480480
if (bucket->refcount == 1) {

sapi/isapi/stresstest/stresstest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ BOOL WINAPI ServerSupportFunction(HCONN hConn, DWORD dwHSERequest,
796796

797797
switch(dwHSERequest) {
798798
case (HSE_REQ_SEND_RESPONSE_HEADER) :
799-
lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accomodate our header
799+
lpszRespBuf = (char *)xmalloc(*lpdwSize);//+ 80);//accommodate our header
800800
if (!lpszRespBuf)
801801
return FALSE;
802802
wsprintf(lpszRespBuf,"%s",

win32/glob.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last,
689689

690690

691691
/*
692-
* Extend the gl_pathv member of a glob_t structure to accomodate a new item,
692+
* Extend the gl_pathv member of a glob_t structure to accommodate a new item,
693693
* add the new item, and update gl_pathc.
694694
*
695695
* This assumes the BSD realloc, which only copies the block when its size

0 commit comments

Comments
 (0)