com php-src: Correct typo in comments: 'initialized': ext/dom/php_dom.c ext/mbstring/mb_gpc.c ext/spl/php _spl.c
| From: | Lior Kaplan | Date: | Sun, 17 Aug 2014 18:32:53 +0000 |
| Subject: | com php-src: Correct typo in comments: 'initialized': ext/dom/php_dom.c ext/mbstring/mb_gpc.c ext/spl/php _spl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80570@lists.php.net to get a copy of this message | ||
Commit: 1504f7d630c01fcfe9cd23b9e8aff7195a3864f7
Author: Lior Kaplan <kaplanlior@gmail.com> Sun, 17 Aug 2014 21:32:53 +0300
Parents: 3f42f2f5d1c8026b6e1d21b91857a08d918c28c8
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1504f7d630c01fcfe9cd23b9e8aff7195a3864f7
Log:
Correct typo in comments: 'initialized'
Changed paths:
M ext/dom/php_dom.c
M ext/mbstring/mb_gpc.c
M ext/spl/php_spl.c
Diff:
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index dda638a..3e619e1 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -518,7 +518,7 @@ static HashTable* dom_get_debug_info_helper(zval *object, int *is_temp TSRMLS_DC
value = null_value;
} else if (Z_TYPE_P(value) == IS_OBJECT) {
/* these are zvalues create on demand, with refcount and is_ref
- * status left in an uninitalized stated */
+ * status left in an uninitialized stated */
zval_dtor(value);
efree(value);
diff --git a/ext/mbstring/mb_gpc.c b/ext/mbstring/mb_gpc.c
index 8924b06..aec5adf 100644
--- a/ext/mbstring/mb_gpc.c
+++ b/ext/mbstring/mb_gpc.c
@@ -260,7 +260,7 @@ const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_i
goto out;
}
- num = n; /* make sure to process initilized vars only */
+ num = n; /* make sure to process initialized vars only */
/* initialize converter */
if (info->num_from_encodings <= 0) {
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 473ab00..515b5cc 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -326,7 +326,7 @@ PHP_FUNCTION(spl_autoload)
RETURN_FALSE;
}
- if (file_exts == NULL) { /* autoload_extensions is not initialzed, set to defaults */
+ if (file_exts == NULL) { /* autoload_extensions is not initialized, set to defaults */
copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS)-1);
} else {
copy = pos1 = estrndup(file_exts, file_exts_len);