[xdebug-dev] xdebug xdebug/xdebug.c - TSRM fixes.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 26 Jul 2007 15:26:18 +0200

Date: Thu Jul 26 15:26:18 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- TSRM fixes.

Modified files:
           xdebug/xdebug.c (version: 1.403)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -r1.402 -r1.403
--- xdebug/xdebug.c:1.402 Tue Jul 24 18:06:40 2007 GMT
+++ xdebug/xdebug.c Thu Jul 26 11:26:18 2007 GMT
@@ -1751,7 +1751,7 @@
         }
 }
 
-static int create_file_link(char **filename, const char *error_filename, int error_lineno)
+static int create_file_link(char **filename, const char *error_filename, int error_lineno TSRMLS_DC)
 {
         xdebug_str fname = {0, 0, NULL};
         char cwd[128];
@@ -1805,7 +1805,7 @@
         if (strlen(XG(file_link_format)) > 0) {
                 char *file_link;
 
- create_file_link(&file_link, error_filename, error_lineno);
+ create_file_link(&file_link, error_filename, error_lineno TSRMLS_CC);
                 xdebug_str_add(&str, xdebug_sprintf(formats[11], error_type_str, buffer, file_link, error_filename, error_lineno), 1);
                 xdfree(file_link);
         } else {
@@ -1911,7 +1911,7 @@
                                         char *just_filename = strrchr(i->filename, DEFAULT_SLASH);
                                         char *file_link;
 
- create_file_link(&file_link, i->filename, i->lineno);
+ create_file_link(&file_link, i->filename, i->lineno TSRMLS_CC);
                                         xdebug_str_add(&str, xdebug_sprintf(formats[10], i->filename, file_link, just_filename, i->lineno), 1);
                                         xdfree(file_link);
                                 } else {
Received on Thu Jul 26 2007 - 15:26:26 BST

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