From 990c2f45e566d8ff097fa90176ba90036892b3cd Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 3 Dec 2008 19:19:23 +0000 Subject: [PATCH] Use abs_path to resolve symbolic links and '..' in report table. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60493 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/scan-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/scan-build b/utils/scan-build index 6de99874a4..3f03d3bdc4 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -366,7 +366,7 @@ sub ScanFile { ++$found; } elsif (/$/) { - $BugFile = $1; + $BugFile = abs_path($1); UpdatePrefix($BugFile); ++$found; } -- 2.40.0