[llvm-commits] CVS: llvm/tools/bugpoint/SystemUtils.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 1 15:30:15 PDT 2003
Changes in directory llvm/tools/bugpoint:
SystemUtils.cpp updated: 1.8 -> 1.9
---
Log message:
Use the C++, more portable, deleter
---
Diffs of the changes:
Index: llvm/tools/bugpoint/SystemUtils.cpp
diff -u llvm/tools/bugpoint/SystemUtils.cpp:1.8 llvm/tools/bugpoint/SystemUtils.cpp:1.9
--- llvm/tools/bugpoint/SystemUtils.cpp:1.8 Mon Jul 14 12:16:01 2003
+++ llvm/tools/bugpoint/SystemUtils.cpp Fri Aug 1 15:29:18 2003
@@ -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
More information about the llvm-commits
mailing list