com php-src: trivial fixes to spl: ext/spl/php_spl.c ext/ spl/spl_directory.c ext/spl/spl_dllist.c ext/spl/sp l_functions.c ext/spl/spl_heap.c
ext/spl/spl_obse rver.c

From: Date: Thu, 04 Jul 2013 15:50:58 +0000
Subject: com php-src: trivial fixes to spl: ext/spl/php_spl.c ext/ spl/spl_directory.c ext/spl/spl_dllist.c ext/spl/sp l_functions.c ext/spl/spl_heap.c
ext/spl/spl_obse rver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73659@lists.php.net to get a copy of this message
Commit: bf18c56fb726adeb3261b3705fc44c162b3c6c80 Author: Anatol Belski <ab@php.net> Thu, 4 Jul 2013 08:50:58 -0700 Parents: 890345eda0ae8594b2429091576b423404d87a00 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf18c56fb726adeb3261b3705fc44c162b3c6c80 Log: trivial fixes to spl Changed paths: M ext/spl/php_spl.c M ext/spl/spl_directory.c M ext/spl/spl_dllist.c M ext/spl/spl_functions.c M ext/spl/spl_heap.c M ext/spl/spl_observer.c Diff: diff --git a/ext/spl/php_spl..c b/ext/spl/php_spl.c index 43ec5db..a5fd3d7 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -627,7 +627,7 @@ skip: PHP_FUNCTION(spl_autoload_unregister) { char *func_name, *error = NULL; - int func_name_len; + zend_str_size_int func_name_len; char *lc_name = NULL; zval *zcallable; int success = FAILURE; diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 78d160f...cae9b75 100644 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -183,7 +183,7 @@ static zend_object_value spl_filesystem_object_new_check(zend_class_entry *class /* }}} */ -PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, int *len TSRMLS_DC) /* {{{ */ +PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, zend_str_size_int *len TSRMLS_DC) /* {{{ */ { #ifdef HAVE_GLOB if (intern->type == SPL_FS_DIR) { @@ -589,7 +589,7 @@ static HashTable* spl_filesystem_object_get_debug_info(zval *obj, int *is_temp T HashTable *rv; zval *tmp, zrv; char *pnstr, *path; - int pnlen, path_len; + zend_str_size_int pnlen, path_len; char stmp[2]; *is_temp = 1; diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index aa462df..4ae55c9 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -511,7 +511,7 @@ static HashTable* spl_dllist_object_get_debug_info(zval *obj, int *is_temp TSRML spl_ptr_llist_element *current = intern->llist->head, *next; zval *tmp, zrv, *dllist_array; char *pnstr; - int pnlen; + zend_str_size_int pnlen; int i = 0; *is_temp = 0; diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c index 7f17d5e..93ed1b3 100644 --- a/ext/spl/spl_functions.c +++ b/ext/spl/spl_functions..c @@ -133,7 +133,7 @@ int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int c } /* }}} */ -char * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len, int *name_len TSRMLS_DC) /* {{{ */ +char * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, zend_str_size_int prop_len, zend_str_size_int *name_len TSRMLS_DC) /* {{{ */ { char *rv; diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c index cb1f68d..c99d5c0 100644 --- a/ext/spl/spl_heap.c +++ b/ext/spl/spl_heap.c @@ -523,7 +523,7 @@ static HashTable* spl_heap_object_get_debug_info_helper(zend_class_entry *ce, zv spl_heap_object *intern = (spl_heap_object*)zend_object_store_get_object(obj TSRMLS_CC); zval *tmp, zrv, *heap_array; char *pnstr; - int pnlen; + zend_str_size_int pnlen; int i; *is_temp = 0; diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer..c index c0c37c2..67db701 100644 --- a/ext/spl/spl_observer.c +++ b/ext/spl/spl_observer.c @@ -318,7 +318,7 @@ static HashTable* spl_object_storage_debug_info(zval *obj, int *is_temp TSRMLS_D HashPosition pos; zval *tmp, *storage; char md5str[33]; - int name_len; + zend_str_size_int name_len; char *zname; *is_temp = 0;

« previous php.cvs (#73659) next »