[cfe-commits] r49189 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Thu Apr 3 14:17:14 PDT 2008


Author: kremenek
Date: Thu Apr  3 16:17:14 2008
New Revision: 49189

URL: http://llvm.org/viewvc/llvm-project?rev=49189&view=rev
Log:
More reliably remove '\n' from queries of the location of ccc-analyzer

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=49189&r1=49188&r2=49189&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Thu Apr  3 16:17:14 2008
@@ -428,7 +428,7 @@
 SetHtmlEnv(\@ARGV, $HtmlDir);
 
 my $Cmd = `which ccc-analyzer`;
-chop $Cmd;
+$Cmd =~ s/\015?\012//;
 $ENV{'CC'} = $Cmd;
 
 if ($Verbose >= 2) {





More information about the cfe-commits mailing list