cvs: ZendEngine2 / zend_exceptions.c

From: Date: Fri, 03 Mar 2006 21:58:56 +0000
Subject: cvs: ZendEngine2 / zend_exceptions.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
helly		Fri Mar  3 21:58:56 2006 UTC

  Modified files:              
    /ZendEngine2	zend_exceptions.c 
  Log:
  - Fix issue with uncaught exceptions in unicode mode
  
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_exceptions.c?r1=1.100&r2=1.101&diff_format=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.100 ZendEngine2/zend_exceptions.c:1.101
--- ZendEngine2/zend_exceptions.c:1.100	Wed Feb 22 11:38:32 2006
+++ ZendEngine2/zend_exceptions.c	Fri Mar  3 21:58:56 2006
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_exceptions.c,v 1.100 2006/02/22 11:38:32 dmitry Exp $ */
+/* $Id: zend_exceptions.c,v 1.101 2006/03/03 21:58:56 helly Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -311,10 +311,11 @@
 	{ \
 		zval tmp, copy; \
 		int use_copy; \
-		ZVAL_UNICODEL(&tmp, val, vallen, 0); \
+		ZVAL_UNICODEL(&tmp, val, vallen, 1); \
 		zend_make_printable_zval(&tmp, &copy, &use_copy); \
 		TRACE_APPEND_STRL(Z_STRVAL(copy), Z_STRLEN(copy)); \
 		zval_dtor(&copy); \
+		zval_dtor(&tmp); \
 	}
 
 #define TRACE_APPEND_ZVAL(zv) \


Thread (1 message)

  • Marcus Boerger
« previous php.zend-engine.cvs (#4650) next »