[cfe-commits] r60493 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Wed Dec 3 11:19:24 PST 2008
Author: kremenek
Date: Wed Dec 3 13:19:23 2008
New Revision: 60493
URL: http://llvm.org/viewvc/llvm-project?rev=60493&view=rev
Log:
Use abs_path to resolve symbolic links and '..' in report table.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=60493&r1=60492&r2=60493&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Dec 3 13:19:23 2008
@@ -366,7 +366,7 @@
++$found;
}
elsif (/<!-- BUGFILE (.*) -->$/) {
- $BugFile = $1;
+ $BugFile = abs_path($1);
UpdatePrefix($BugFile);
++$found;
}
More information about the cfe-commits
mailing list