[xdebug-dev] Bug 0000277: xdebug.trace_output_name = "xdebug.%c" does not function as documented.

From: <noreply[@]lists.xdebug.org>
Date: Wed, 30 May 2007 00:01:22 +0200

The following bug requires your FEEDBACK.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000277
======================================================================
Reporter: lars
Handler:
======================================================================
Project: Xdebug
Bug ID: 277
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: feedback
Operating System: Debian 4.0 (Etch)
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc5-dev
======================================================================
Date Submitted: 2007-05-29 19:29 CEST
Last Modified: 2007-05-30 00:01 CEST
======================================================================
Summary: xdebug.trace_output_name = "xdebug.%c" does not function as documented.
Description:
If i set the above option trace file names will be build like this:
"trace.PID.xt".
According to http://xdebug.org/docs/all_settings it should be
like this trace.CRC32.xt.
======================================================================

----------------------------------------------------------------------
 derick - 2007-05-30 00:01 CEST
----------------------------------------------------------------------
That's not what the code says, the code is doing what the docs say:

case 'c': /* crc32 of the current working directory */
    VCWD_GETCWD(cwd, 127);
    xdebug_str_add(&fname, xdebug_sprintf("%lu", xdebug_crc32(cwd,
strlen(cwd))), 1);
    break;

case 'p': /* pid */
    xdebug_str_add(&fname, xdebug_sprintf("%ld", getpid()), 1);
    break;

How do you see that the results are wrong?

Bug History
Date Modified Username Field Change
======================================================================
2007-05-29 19:29lars New Bug
2007-05-29 19:29lars Bug Monitored: lars
2007-05-30 00:01derick Bugnote Added: 0000641
2007-05-30 00:01derick Status new => feedback
======================================================================
Received on Wed May 30 2007 - 00:01:23 BST

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