helly           Thu Jul 15 18:22:06 2004 EDT

  Modified files:              
    /php-src/main       main.c 
  Log:
  - Use ErrorException instead of Exception
  
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.604&r2=1.605&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.604 php-src/main/main.c:1.605
--- php-src/main/main.c:1.604   Fri May 28 10:14:26 2004
+++ php-src/main/main.c Thu Jul 15 18:22:06 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.604 2004/05/28 14:14:26 iliaa Exp $ */
+/* $Id: main.c,v 1.605 2004/07/15 22:22:06 helly Exp $ */
 
 /* {{{ includes
  */
@@ -667,7 +667,7 @@
                                 * but DO NOT overwrite a pending excepption
                                 */
                                if (PG(error_handling) == EH_THROW && !EG(exception)) {
-                                       zend_throw_exception(PG(exception_class), 
buffer, 0 TSRMLS_CC);
+                                       
zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC);
                                }
                                efree(buffer);
                                return;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to