cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Thu, 19 Aug 2004 07:16:04 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2875@lists.php.net to get a copy of this message | ||
helly Thu Aug 19 03:16:04 2004 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
- Nedd to work on copy
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.121&r2=1.122&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.121 ZendEngine2/zend_reflection_api.c:1.122
--- ZendEngine2/zend_reflection_api.c:1.121 Wed Aug 18 19:07:12 2004
+++ ZendEngine2/zend_reflection_api.c Thu Aug 19 03:16:02 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.121 2004/08/18 23:07:12 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.122 2004/08/19 07:16:02 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -531,7 +531,8 @@
zval *zv, zv_copy;
int use_copy;
string_write(str, " = ", sizeof(" = ")-1);
- zv = &precv->op2.u.constant;
+ zv_copy = precv->op2.u.constant;
+ zv = &zv_copy;
zval_update_constant(&zv, (void*)1 TSRMLS_CC);
if (Z_TYPE_P(zv) == IS_NULL) {
string_write(str, "NULL", sizeof("NULL")-1);