From: Ted Kremenek Date: Thu, 11 Sep 2008 21:15:10 +0000 (+0000) Subject: Bug fix: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20b2bae90c102f405ba70f602c45660ce1cd0c4e;p=clang Bug fix: scan-build now correctly processes path prefixes that contain multiple '+' characters or other regex control characters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56121 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index e0d53ad93d..f8d2d8f42b 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -271,7 +271,7 @@ sub UpdatePrefix { return; } - chop $Prefix while (!($x =~ /^$Prefix/)); + chop $Prefix while (!($x =~ /^\Q$Prefix/)); } sub GetPrefix {