[PHP-CVS-DAILY] cvs: php-src / ChangeLog
changelog Sun Apr 2 06:31:44 2006 UTC Modified files: /php-srcChangeLog Log: ChangeLog update http://cvs.php.net/viewcvs.cgi/php-src/ChangeLog?r1=1.2302r2=1.2303diff_format=u Index: php-src/ChangeLog diff -u php-src/ChangeLog:1.2302 php-src/ChangeLog:1.2303 --- php-src/ChangeLog:1.2302Sat Apr 1 06:31:43 2006 +++ php-src/ChangeLog Sun Apr 2 06:31:43 2006 @@ -1,3 +1,8 @@ +2006-04-01 Sara Golemon [EMAIL PROTECTED] + +* ext/standard/file.c: + Update filename handling and mark various functions for unicode safety + 2006-03-31 Sara Golemon [EMAIL PROTECTED] * ZendEngine2/zend.c
[PHP-CVS] Re: Failure
Now a new message is available. Attachment: No Virus found Norton AntiVirus - www.symantec.de -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_1) /ext/spl spl_array.c /ext/spl/tests iterator_035.phpt
tony2001Sat Apr 1 19:13:04 2006 UTC Added files: (Branch: PHP_5_1) /php-src/ext/spl/tests iterator_035.phpt Modified files: /php-src/ext/splspl_array.c Log: fix segfault when assigning value by ref and add test (I consider it's wrong that we can't do it, but we shouldn't segfault anyway) http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.14r2=1.71.2.15diff_format=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.71.2.14 php-src/ext/spl/spl_array.c:1.71.2.15 --- php-src/ext/spl/spl_array.c:1.71.2.14 Wed Mar 29 14:28:42 2006 +++ php-src/ext/spl/spl_array.c Sat Apr 1 19:13:04 2006 @@ -16,7 +16,7 @@ +--+ */ -/* $Id: spl_array.c,v 1.71.2.14 2006/03/29 14:28:42 tony2001 Exp $ */ +/* $Id: spl_array.c,v 1.71.2.15 2006/04/01 19:13:04 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H # include config.h @@ -219,6 +219,10 @@ if (check_inherited intern-fptr_offset_get) { return zend_call_method_with_1_params(object, Z_OBJCE_P(object), intern-fptr_offset_get, offsetGet, NULL, offset); }*/ + + if (!offset) { + return EG(uninitialized_zval_ptr); + } switch(Z_TYPE_P(offset)) { case IS_STRING: http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/tests/iterator_035.phpt?view=markuprev=1.1 Index: php-src/ext/spl/tests/iterator_035.phpt +++ php-src/ext/spl/tests/iterator_035.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/spl spl_array.c /ext/spl/tests bug36941.phpt
helly Sat Apr 1 22:39:42 2006 UTC Added files: /php-src/ext/spl/tests bug36941.phpt Modified files: /php-src/ext/splspl_array.c Log: - Bugfix #36941 (ArrayIterator does not clone itself) http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_array.c?r1=1.105r2=1.106diff_format=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.105 php-src/ext/spl/spl_array.c:1.106 --- php-src/ext/spl/spl_array.c:1.105 Sat Apr 1 19:14:01 2006 +++ php-src/ext/spl/spl_array.c Sat Apr 1 22:39:42 2006 @@ -16,7 +16,7 @@ +--+ */ -/* $Id: spl_array.c,v 1.105 2006/04/01 19:14:01 tony2001 Exp $ */ +/* $Id: spl_array.c,v 1.106 2006/04/01 22:39:42 helly Exp $ */ #ifdef HAVE_CONFIG_H # include config.h @@ -228,6 +228,7 @@ spl_array_object *intern; old_object = zend_objects_get_address(zobject TSRMLS_CC); + SEPARATE_ZVAL(zobject); new_obj_val = spl_array_object_new_ex(old_object-ce, intern, zobject TSRMLS_CC); new_object = intern-std; http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/tests/bug36941.phpt?view=markuprev=1.1 Index: php-src/ext/spl/tests/bug36941.phpt +++ php-src/ext/spl/tests/bug36941.phpt --TEST-- Bug #36941 (ArrayIterator does not clone itself) --FILE-- ?php $a = new ArrayIterator(); $a[] = 1; $b = clone $a; var_dump($a[0], $b[0]); $b[0] = $b[0] + 1; var_dump($a[0], $b[0]); $b[0] = 3; var_dump($a[0], $b[0]); ? ===DONE=== --EXPECT-- int(1) int(1) int(1) int(2) int(1) int(3) ===DONE=== -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php