From: Ted Kremenek Date: Tue, 4 Aug 2009 00:55:59 +0000 (+0000) Subject: 'unlink' file directly instead of invoking system shell. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3bf8a8ab4eecc2746e2f8a35d7bc365c88ff674;p=clang 'unlink' file directly instead of invoking system shell. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index df99437dab..f29c4d51d1 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -283,7 +283,7 @@ sub Analyze { } } - `rm -f $ofile`; + unlink($ofile); } ##----------------------------------------------------------------------------##