Date: Fri May 26 09:28:07 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Fixed compilation with PHP 4.4.
Modified files:
xdebug/xdebug_handler_dbgp.c (version: 1.95)
[FILE: /xdebug/xdebug_handler_dbgp.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- xdebug/xdebug_handler_dbgp.c:1.94 Mon May 15 19:41:05 2006 GMT
+++ xdebug/xdebug_handler_dbgp.c Fri May 26 05:28:07 2006 GMT
@@ -295,11 +295,13 @@
case XF_ST_ROOT:
case XF_ST_ARRAY_INDEX:
element = prepare_search_key(name, &name_length, "", 0);
+#ifdef ZEND_ENGINE_2
/* Handle "this" in a different way */
if (type == XF_ST_ROOT && strcmp("this", element) == 0) {
retval_p = EG(This);
goto cleanup;
}
+#endif
if (ht && zend_hash_find(ht, element, name_length + 1, (void **) &retval_pp) == SUCCESS) {
retval_p = *retval_pp;
goto cleanup;
@@ -2065,7 +2067,7 @@
char *xdebug_dbgp_get_revision(void)
{
- return "$Revision: 1.94 $";
+ return "$Revision: 1.95 $";
}
int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Fri May 26 2006 - 09:28:33 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST