Revision tags: php-5.3.11RC2, php-5.4.1RC2, php-5.3.11RC1, php-5.4.1RC1 |
|
#
3960def8 |
| 23-Mar-2012 |
Gustavo André dos Santos Lopes |
Fixed bug #61482, caused by the fix to bug #61418. Turns out I'd forgotten to also update the destructor for the iterator returned by DirectoryIterator. The iterator for DirectoryIte
Fixed bug #61482, caused by the fix to bug #61418. Turns out I'd forgotten to also update the destructor for the iterator returned by DirectoryIterator. The iterator for DirectoryIterator maintains the same ->current pointer throughout its existence (the DirectoryIterator itself) and returns it (the same object) everytime a value is requested from the iterator. Moving forward the iterator only changes the object. Previous code added two references to the object in get_iterator on the account of 1) the iterator memory living in its DirectoryIterator object and 2) the object being stored in iterator->current. This seems to be unnecessary. Iterators are not responsible for incrementing the refcount of the values they yield, that's up to the caller (the engine). What matters for the iterator is that the object exists as long as the iterator exists and this can be guaranteed by incremented the refcount only once. Consequently, I only add one reference in get_iterator (and reclaim it in the iterator destructor).
show more ...
|
#
85725337 |
| 23-Mar-2012 |
Gustavo André dos Santos Lopes |
Revert "Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482" This reverts commit a89c4a34ee55686ab1430a5060e1460335fc5203.
|
#
a89c4a34 |
| 23-Mar-2012 |
Stanislav Malyshev |
Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482 This reverts commit 714f1ff4b37c5101b3c61ea108a3d415f41e50df.
|
#
dd33437e |
| 22-Mar-2012 |
Dmitry Stogov |
Revert "Fixed reference counting" This reverts commit 752fec88ef5ce15c750776d008ae843ee1ba761e.
|
#
672fe54a |
| 22-Mar-2012 |
Dmitry Stogov |
Revert "Fixed reference counting" This reverts commit 14af1fe6923c65a91cd77eab5a8d4326f854391d.
|
#
6f49678f |
| 22-Mar-2012 |
Dmitry Stogov |
Revert "Fixed reference counting" This reverts commit 5bf1efbf209b7d14edc8d01098465ed0bdda1516.
|
#
752fec88 |
| 22-Mar-2012 |
Dmitry Stogov |
Fixed reference counting
|
#
14af1fe6 |
| 22-Mar-2012 |
Dmitry Stogov |
Fixed reference counting
|
#
5bf1efbf |
| 22-Mar-2012 |
Dmitry Stogov |
Fixed reference counting
|
Revision tags: PHP-5.4.1-RC1 |
|
#
91f2d380 |
| 19-Mar-2012 |
Joshua Thijssen |
Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK
|
#
a3699726 |
| 18-Mar-2012 |
Gustavo André dos Santos Lopes |
- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or FilesystemIterator's iterators are requested more than once without having had its dtor callback called in between).
|
#
d870a411 |
| 18-Mar-2012 |
Gustavo André dos Santos Lopes |
- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or FilesystemIterator's iterators are requested more than once without having had its dtor callback called in between).
|
#
714f1ff4 |
| 18-Mar-2012 |
Gustavo André dos Santos Lopes |
- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or FilesystemIterator's iterators are requested more than once without having had its dtor callback called in between).
|
#
af2fc625 |
| 11-Mar-2012 |
Felipe Pena |
- Fixed memory leak when calling SplFileInfo's constructor twice
|
#
39547438 |
| 11-Mar-2012 |
Felipe Pena |
- Fixed memory leak when calling SplFileInfo's constructor twice
|
#
80cb6e56 |
| 11-Mar-2012 |
Felipe Pena |
- Fixed memory leak when calling SplFileInfo's constructor twice
|
Revision tags: php-5.4.0, php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6, php-5.3.9, php-5.4.0RC5 |
|
#
e4ca0ed0 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
#
8775a375 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
#
4e198252 |
| 01-Jan-2012 |
Felipe Pena |
- Year++
|
Revision tags: php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3, php-5.3.9RC2, php-5.4.0RC2 |
|
#
28d1bc37 |
| 11-Nov-2011 |
Felipe Pena |
- Fixed bug #60261 (phar dos null pointer)
|
#
c1e510ae |
| 11-Nov-2011 |
Felipe Pena |
- Fixed bug #60261 (phar dos null pointer)
|
#
72a133f1 |
| 11-Nov-2011 |
Felipe Pena |
- Fixed bug #60261 (phar dos null pointer)
|
Revision tags: php-5.4.0RC1, php-5.3.9RC1 |
|
#
9b86852d |
| 02-Nov-2011 |
Peter Cowburn |
add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201)
|
#
ac8ece27 |
| 02-Nov-2011 |
Peter Cowburn |
add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201)
|
#
32f7337b |
| 29-Oct-2011 |
Gustavo André dos Santos Lopes |
- Reverted changes that required constructor overrides to invoke the parent constructor in several SPL classes and applied 5.3 fixes instead. Related bugs: #54384, #55175 and #55300
|