[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c - Fix this windows mess for good now.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 30 Aug 2004 16:05:24 +0200

Date: Mon Aug 30 16:05:24 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fix this windows mess for good now.

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

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- xdebug/xdebug_handler_dbgp.c:1.57 Fri Aug 27 04:58:18 2004 GMT
+++ xdebug/xdebug_handler_dbgp.c Mon Aug 30 12:05:24 2004 GMT
@@ -269,7 +269,7 @@
                 i = 0;
         }
 
- filename = xdebug_path_from_url(filename);
+ filename = xdebug_path_from_url(filename TSRMLS_CC);
         stream = php_stream_open_wrapper(filename, "rb",
                         USE_PATH | ENFORCE_SAFE_MODE | REPORT_ERRORS,
                         NULL);
@@ -328,7 +328,7 @@
                 xdebug_xml_add_attribute_ex(tmp, "filename", xdebug_path_to_url(fse_prev->filename TSRMLS_CC), 0, 1);
                 xdebug_xml_add_attribute_ex(tmp, "lineno", xdebug_sprintf("%lu", fse_prev->lineno TSRMLS_CC), 0, 1);
         } else {
- xdebug_xml_add_attribute_ex(tmp, "filename", xdebug_path_to_url(zend_get_executed_filename(TSRMLS_C)), 0, 1);
+ xdebug_xml_add_attribute_ex(tmp, "filename", xdebug_path_to_url(zend_get_executed_filename(TSRMLS_C) TSRMLS_CC), 0, 1);
                 xdebug_xml_add_attribute_ex(tmp, "lineno", xdebug_sprintf("%lu", zend_get_executed_lineno(TSRMLS_C)), 0, 1);
         }
 
@@ -673,11 +673,11 @@
                         if (!fse) {
                                 RETURN_RESULT(XG(status), XG(reason), XDEBUG_ERROR_STACK_DEPTH_INVALID);
                         } else {
- brk_info->file = xdebug_path_from_url(fse->filename);
+ brk_info->file = xdebug_path_from_url(fse->filename TSRMLS_CC);
                                 brk_info->file_len = strlen(brk_info->file);
                         }
                 } else {
- brk_info->file = xdebug_path_from_url(CMD_OPTION('f'));
+ brk_info->file = xdebug_path_from_url(CMD_OPTION('f') TSRMLS_CC);
                         brk_info->file_len = strlen(brk_info->file);
                 }
 
@@ -924,8 +924,8 @@
 
 DBGP_FUNC(source)
 {
- char *source, *encoded_source;
- int new_len, begin = 0, end = 999999;
+ char *source;
+ int begin = 0, end = 999999;
         char *filename;
         function_stack_entry *fse;
 
@@ -1591,7 +1591,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.57 $";
+ return "$Revision: 1.58 $";
 }
 
 int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
Received on Mon Aug 30 2004 - 16:05:32 BST

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