Date: Tue Feb 19 17:57:32 CET 2008
User: Derick Rethans
Directory: xdebug
Log Message:
[0.05]
- Fixed strange empty zval to string conversion.
Modified files:
xdebug/xdebug.c (version: 1.419)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.418
retrieving revision 1.419
diff -u -r1.418 -r1.419
--- xdebug/xdebug.c:1.418 Wed Feb 13 15:26:42 2008 GMT
+++ xdebug/xdebug.c Tue Feb 19 15:57:32 2008 GMT
@@ -2548,11 +2548,7 @@
if (i->var[j].addr) {
argument = xdebug_get_zval_value(i->var[j].addr, 0, NULL);
} else {
- zval *tmp_zval;
- MAKE_STD_ZVAL(tmp_zval);
- argument = xdebug_get_zval_value(tmp_zval, 0, NULL);
- zval_dtor(tmp_zval);
- FREE_ZVAL(tmp_zval);
+ argument = xdstrdup("");
}
if (i->var[j].name) {
add_assoc_string_ex(params, i->var[j].name, strlen(i->var[j].name) + 1, argument, 1);
Received on Tue Feb 19 2008 - 18:04:43 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST