helly Sun Jul 13 21:38:58 2008 UTC Modified files: /php-src/ext/spl php_spl.c Log: - Use new helper http://cvs.php.net/viewvc.cgi/php-src/ext/spl/php_spl.c?r1=1.135&r2=1.136&diff_format=u Index: php-src/ext/spl/php_spl.c diff -u php-src/ext/spl/php_spl.c:1.135 php-src/ext/spl/php_spl.c:1.136 --- php-src/ext/spl/php_spl.c:1.135 Sat Jul 12 14:58:06 2008 +++ php-src/ext/spl/php_spl.c Sun Jul 13 21:38:58 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_spl.c,v 1.135 2008/07/12 14:58:06 helly Exp $ */ +/* $Id: php_spl.c,v 1.136 2008/07/13 21:38:58 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -380,9 +380,7 @@ zend_hash_get_current_data_ex(SPL_G(autoload_functions), (void **) &alfi, &function_pos); zend_u_call_method(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr, func_name_type, func_name, func_name_len, &retval, 1, zclass_name, NULL TSRMLS_CC); if (EG(exception)) { - if (exception) { - zend_update_property(zend_exception_get_default(TSRMLS_C), EG(exception), "previous", sizeof("previous")-1, exception TSRMLS_CC); - } + zend_exception_set_previous(exception TSRMLS_CC); exception = EG(exception); EG(exception) = NULL; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php