projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the C++, more portable, deleter
[oota-llvm.git]
/
lib
/
Support
/
SystemUtils.cpp
diff --git
a/lib/Support/SystemUtils.cpp
b/lib/Support/SystemUtils.cpp
index aca9e5a4026a826e5007811f0b369f72e2e971f5..ec0bcb3296e0c5937de442226577b9f3c719fd57 100644
(file)
--- a/
lib/Support/SystemUtils.cpp
+++ b/
lib/Support/SystemUtils.cpp
@@
-20,7
+20,7
@@
/// removeFile - Delete the specified file
///
void removeFile(const std::string &Filename) {
-
unlink
(Filename.c_str());
+
std::remove
(Filename.c_str());
}
/// getUniqueFilename - Return a filename with the specified prefix. If the