cvs: php-src /ext/spl spl_iterators.c
| From: | Marcus Boerger | Date: | Sun, 06 Mar 2005 23:07:44 +0000 |
| Subject: | cvs: php-src /ext/spl spl_iterators.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30743@lists.php.net to get a copy of this message | ||
helly Sun Mar 6 18:07:44 2005 EDT
Modified files:
/php-src/ext/spl spl_iterators.c
Log:
- Fix problem with exception in other methods, too
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.65&r2=1.66&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.65 php-src/ext/spl/spl_iterators.c:1.66
--- php-src/ext/spl/spl_iterators.c:1.65 Sun Mar 6 17:57:05 2005
+++ php-src/ext/spl/spl_iterators.c Sun Mar 6 18:07:43 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_iterators.c,v 1.65 2005/03/06 22:57:05 helly Exp $ */
+/* $Id: spl_iterators.c,v 1.66 2005/03/06 23:07:43 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -168,7 +168,7 @@
zend_object_iterator *sub_iter;
int has_children;
- while (1) {
+ while (!EG(exception)) {
next_step:
iterator = object->iterators[object->level].iterator;
switch (object->iterators[object->level].state) {