[xdebug-dev] Re: Bug 0000140: Is the profiler output filename correctly documented?

From: Linus McCabe <Linus[@]mccabe.nu>
Date: Mon, 1 Aug 2005 19:29:54 +0200

I saw your new phrasing, but just to make it clear:

If I request "http://server/~linus/test/script.php"

and this script maps to

/home/linus/public_html/test/script.php

isnt it the crc32 of the string "/home/linus/public_html/test/script.php"
rather than just the directory "/home/linus/public_html/test" ??

The reason I'm so picky is because i need to calculate the exact same crc32 to
find the correct output filename (and i thought i could use the init packets
fileuri + a crc32 function to do that)

thanks

/linus

On Monday 01 August 2005 19.15, you wrote:
> The following bug has been CLOSED
> ======================================================================
> http://bugs.xdebug.org/bug_view_page.php?bug_id=0000140
> ======================================================================
> Reporter: mccabe
> Handler:
> ======================================================================
> Project: Xdebug
> Bug ID: 140
> Category: Documentation
> Reproducibility: always
> Severity: trivial
> Priority: normal
> Status: closed
> Operating System: Linux
> PHP Version: 4.3.10
> Xdebug Version: 2.0-dev
> ======================================================================
> Date Submitted: 2005-08-01 18:35 CEST
> Last Modified: 2005-08-01 19:15 CEST
> ======================================================================
> Summary: Is the profiler output filename correctly
> documented? Description:
> The profiling docs says
> "The name of the generated file always starts with "cachegrind.out." and
> ends with either the PID (process ID) of the PHP (or Apache) process or
> the crc32 hash of the current working directory"
>
> The last part, "crc32 hash of the current working directory", shouldnt
> that be the "crc32 hash of the initially debugged script"?
>
> At least thats what it looks like in the source.
>
> ======================================================================
>
> ----------------------------------------------------------------------
> derick - 2005-08-01 19:15 CEST
> ----------------------------------------------------------------------
> Fixed online. Thanks!
>
> Bug History
> Date Modified Username Field Change
> ======================================================================
> 2005-08-01 18:35mccabe New Bug
> 2005-08-01 18:35mccabe Bug Monitored: mccabe
> 2005-08-01 19:15derick Bugnote Added: 0000270
> 2005-08-01 19:15derick Status new => closed
> ======================================================================
Received on Mon Aug 01 2005 - 19:51:28 BST

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