[xdebug-dev] xdebug xdebug/usefulstuff.c - Fixed bug #240: Crash with xdebug.remote_log on Windows.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 17 Feb 2007 22:00:31 +0100

Date: Sat Feb 17 22:00:31 CET 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.50]
- Fixed bug #240: Crash with xdebug.remote_log on Windows.

Modified files:
           xdebug/usefulstuff.c (version: 1.39)

[FILE: /xdebug/usefulstuff.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- xdebug/usefulstuff.c:1.38 Sun Jan 14 16:00:58 2007 GMT
+++ xdebug/usefulstuff.c Sat Feb 17 20:00:31 2007 GMT
@@ -495,7 +495,9 @@
         } else {
                 tmp_fname = xdebug_sprintf("%s", fname);
         }
- *new_fname = tmp_fname;
+ if (new_fname) {
+ *new_fname = tmp_fname;
+ }
         return fopen(tmp_fname, mode);
 }
 #endif
Received on Sat Feb 17 2007 - 22:00:43 GMT

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