Date: Wed Mar 19 17:00:29 CET 2008
User: Derick Rethans
Directory: xdebug
Log Message:
[0.50]
- Make it compile with PHP 5.3 again.
Modified files:
xdebug/xdebug.c (version: 1.421)
xdebug/xdebug_handler_dbgp.c (version: 1.131)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.420
retrieving revision 1.421
diff -u -r1.420 -r1.421
--- xdebug/xdebug.c:1.420 Thu Mar 13 13:06:57 2008 GMT
+++ xdebug/xdebug.c Wed Mar 19 15:00:29 2008 GMT
@@ -775,7 +775,7 @@
}
/* Only enabled extended info when it is not disabled */
- CG(extended_info) = XG(extended_info);
+ CG(compiler_options) = CG(compiler_options) | (XG(extended_info) ? ZEND_COMPILE_EXTENDED_INFO : 0);
if (XG(default_enable)) {
zend_error_cb = new_error_cb;
[FILE: /xdebug/xdebug_handler_dbgp.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- xdebug/xdebug_handler_dbgp.c:1.130 Sun Oct 28 15:27:44 2007 GMT
+++ xdebug/xdebug_handler_dbgp.c Wed Mar 19 15:00:29 2008 GMT
@@ -1265,7 +1265,11 @@
if (XG(stdout_redirected) != 0) {
xdebug_send_stream("stdout", str, str_length TSRMLS_CC);
}
+#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3) || PHP_MAJOR_VERSION >= 6
+ zend_set_timeout(EG(timeout_seconds), 0);
+#else
zend_set_timeout(EG(timeout_seconds));
+#endif
}
return XG(stdio).php_header_write(str, str_length TSRMLS_CC);
}
@@ -1280,7 +1284,11 @@
if (XG(stdout_redirected) != 0) {
xdebug_send_stream("stdout", str, str_length TSRMLS_CC);
}
+#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3) || PHP_MAJOR_VERSION >= 6
+ zend_set_timeout(EG(timeout_seconds), 0);
+#else
zend_set_timeout(EG(timeout_seconds));
+#endif
}
return XG(stdio).php_body_write(str, str_length TSRMLS_CC);
}
@@ -2233,7 +2241,7 @@
char *xdebug_dbgp_get_revision(void)
{
- return "$Revision: 1.130 $";
+ return "$Revision: 1.131 $";
}
static int xdebug_dbgp_cmdloop(xdebug_con *context, int bail TSRMLS_DC)
Received on Wed Mar 19 2008 - 17:15:02 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST