[xdebug-dev] xdebug xdebug/xdebug.c - Fixed TSRMLS issue

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 2 Feb 2006 23:21:49 +0100

Date: Thu Feb 2 23:21:49 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.10]
- Fixed TSRMLS issue

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -r1.295 -r1.296
--- xdebug/xdebug.c:1.295 Tue Jan 31 20:07:37 2006 GMT
+++ xdebug/xdebug.c Thu Feb 02 21:21:49 2006 GMT
@@ -581,21 +581,10 @@
 }
 
 
-static xdebug_output_aggr_data(TSRMLS_D)
-{
- xdebug_aggregate_entry *xae;
-
- zend_hash_internal_pointer_reset(&XG(aggr_calls));
- while (zend_hash_get_current_data(&XG(aggr_calls), (void**)&xae) == SUCCESS) {
- fprintf(stderr, "filename=%s\nfunction=%s\nlineno=%d\ntime_own=%lu\ntime_inclusive=%lu\n\n", xae->filename, xae->function, xae->lineno, (unsigned long) (xae->time_own * 10000000), (unsigned long) (xae->time_inclusive * 10000000));
- zend_hash_move_forward(&XG(aggr_calls));
- }
-}
-
 PHP_MSHUTDOWN_FUNCTION(xdebug)
 {
         if (XG(profiler_aggregate)) {
- xdebug_profiler_output_aggr_data(NULL TSRMLS_C);
+ xdebug_profiler_output_aggr_data(NULL TSRMLS_CC);
         }
 
         /* Reset compile, execute and error callbacks */
Received on Thu Feb 02 2006 - 23:22:02 GMT

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