[xdebug-dev] svn: /xdebug/trunk/ tests/bug00631.phpt xdebug_profiler.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 21 Mar 2011 20:09:19 +0000

derick Mon, 21 Mar 2011 20:09:19 +0000

Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3412&root=xdebug

Log:
- Add events/positions in the correct place.

Changed paths:
    U xdebug/trunk/tests/bug00631.phpt
    U xdebug/trunk/xdebug_profiler.c

Modified: xdebug/trunk/tests/bug00631.phpt
===================================================================
--- xdebug/trunk/tests/bug00631.phpt 2011-03-21 20:09:18 UTC (rev 3411)
+++ xdebug/trunk/tests/bug00631.phpt 2011-03-21 20:09:19 UTC (rev 3412)
@@ -17,9 +17,9 @@
 creator: xdebug 2.%s
 cmd: %sbug00631.php
 part: 1
+positions: line

 events: Time
-positions: line

 fl=php:internal
 fn=php::register_shutdown_function

Modified: xdebug/trunk/xdebug_profiler.c
===================================================================
--- xdebug/trunk/xdebug_profiler.c 2011-03-21 20:09:18 UTC (rev 3411)
+++ xdebug/trunk/xdebug_profiler.c 2011-03-21 20:09:19 UTC (rev 3412)
@@ -83,8 +83,8 @@
                 fprintf(XG(profile_file), "\n==== NEW PROFILING FILE ==============================================\n");
         }
         fprintf(XG(profile_file), "version: 1\ncreator: xdebug %s\n", XDEBUG_VERSION);
- fprintf(XG(profile_file), "cmd: %s\npart: 1\n\nevents: Time\n\n", script_name);
- fprintf(XG(profile_file), "positions: line\n");
+ fprintf(XG(profile_file), "cmd: %s\npart: 1\npositions: line\n\n", script_name);
+ fprintf(XG(profile_file), "events: Time\n\n");
         fflush(XG(profile_file));
         return SUCCESS;
 }
Received on Mon Mar 21 2011 - 20:09:19 GMT

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