[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c - Fixed bug #99: unset variables return the name as a string with property_get.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 5 Nov 2004 00:10:00 +0100

Date: Fri Nov 5 00:10:00 CET 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #99: unset variables return the name as a string with property_get.

Modified files:
           xdebug/xdebug_handler_dbgp.c (version: 1.63)

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- xdebug/xdebug_handler_dbgp.c:1.62 Thu Nov 04 21:10:37 2004 GMT
+++ xdebug/xdebug_handler_dbgp.c Thu Nov 04 22:10:00 2004 GMT
@@ -1139,7 +1139,7 @@
                 RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_INVALID_ARGS);
         }
 
- if (add_variable_node(*retval, CMD_OPTION('n'), strlen(CMD_OPTION('n')) + 1, 0, 0 TSRMLS_CC) == FAILURE) {
+ if (add_variable_node(*retval, CMD_OPTION('n'), strlen(CMD_OPTION('n')) + 1, 1, 0 TSRMLS_CC) == FAILURE) {
                 RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_PROPERTY_NON_EXISTANT);
         }
 }
@@ -1596,7 +1596,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.62 $";
+ return "$Revision: 1.63 $";
 }
 
 int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Fri Nov 05 2004 - 00:10:06 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST