svn: /php/php-src/trunk/ext/spl/ php_spl.c php_spl.h spl_directory.c spl_iterators.c tests/bug41828.phpt tests/bug54281.phpt tests/bug54384.phpt
tests/iterator_031.phpt
| From: | Gustavo André dos Santos Lopes | Date: | Sun, 27 Mar 2011 04:21:06 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/spl/ php_spl.c php_spl.h spl_directory.c spl_iterators.c tests/bug41828.phpt tests/bug54281.phpt tests/bug54384.phpt tests/iterator_031.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64757@lists.php.net to get a copy of this message | ||
cataphract Sun, 27 Mar 2011 04:21:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309729
Log:
- Fixed bug #54384: Several SPL classes crash when parent constructor is
not called.
#Merge to 5.3 pending (slight BC break on AppendIterator, as it's no
#longer possible to defer the call to the parent constructor until
#after the constructor is performed).
#Bugs fixed in an atypical way for SPL. The parent constructor call
#check is performed at construction time by using a wrapper constructor
#instead of a check on the beginning of each instance method.
#Perhaps this should be uniformized in trunk; this method was mainly
#applied only to the ones crashing, except a few iterators (at least
#AppendIterator and RecursiveIteratorIterator).
Bug: http://bugs.php.net/54384 (Assigned) Several SPL
classes crash when parent constructor is not called
Changed paths:
U php/php-src/trunk/ext/spl/php_spl.c
U php/php-src/trunk/ext/spl/php_spl.h
U php/php-src/trunk/ext/spl/spl_directory.c
U php/php-src/trunk/ext/spl/spl_iterators.c
U php/php-src/trunk/ext/spl/tests/bug41828.phpt
U php/php-src/trunk/ext/spl/tests/bug54281.phpt
A php/php-src/trunk/ext/spl/tests/bug54384.phpt
U php/php-src/trunk/ext/spl/tests/iterator_031.phpt
Attachment: [text/x-diff] svn-diffs-309729.txt
Attachment: [text/x-diff] svn-diffs-309729.txt