[cfe-commits] r53775 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Fri Jul 18 16:11:33 PDT 2008
Author: kremenek
Date: Fri Jul 18 18:11:33 2008
New Revision: 53775
URL: http://llvm.org/viewvc/llvm-project?rev=53775&view=rev
Log:
Quote invocation of clang in pipe to handle paths with spaces.
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=53775&r1=53774&r2=53775&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Fri Jul 18 18:11:33 2008
@@ -69,7 +69,7 @@
my %AvailableAnalyses;
# Query clang for analysis options.
-open(PIPE, "$Clang --help |") or
+open(PIPE, "'$Clang's --help |") or
DieDiag("Cannot execute '$Clang'");
my $FoundAnalysis = 0;
More information about the cfe-commits
mailing list