Revision: 1039
Author: [email protected]
Date: Fri Jan 22 02:56:08 2010
Log: Fix a bug in the FID folding in nytprofmerge.

(nytprofhtml would report multiple definitions for subroutines, because
different input profiles would have the same FID mapped differently)
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1039

Modified:
 /trunk/bin/nytprofmerge

=======================================
--- /trunk/bin/nytprofmerge     Mon Jan  4 12:33:17 2010
+++ /trunk/bin/nytprofmerge     Fri Jan 22 02:56:08 2010
@@ -228,7 +228,7 @@

                $new_fid = $next_fid++;
                $fids_folded{$fid} = $fids{$fid} = $new_fid;
-               $file_to_fid{$name} = $fid;
+               $file_to_fid{$name} = $new_fid;
            }
            $fid_to_file{$new_fid} = $name;
            $pending_fids[$fid] = [$new_fid, $new_eval_fid];

--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to