[llvm-commits] CVS: llvm/lib/Support/FileUtilities.cpp
Reid Spencer
reid at x10sys.com
Wed Dec 22 02:24:54 PST 2004
Changes in directory llvm/lib/Support:
FileUtilities.cpp updated: 1.33 -> 1.34
---
Log message:
For PR351: http://llvm.cs.uiuc.edu/PR351 :
Move non-portable FDHandle class to its only user: lib/Debugger
---
Diffs of the changes: (+0 -14)
Index: llvm/lib/Support/FileUtilities.cpp
diff -u llvm/lib/Support/FileUtilities.cpp:1.33 llvm/lib/Support/FileUtilities.cpp:1.34
--- llvm/lib/Support/FileUtilities.cpp:1.33 Thu Dec 16 17:00:05 2004
+++ llvm/lib/Support/FileUtilities.cpp Wed Dec 22 04:24:43 2004
@@ -63,17 +63,3 @@
std::remove(New.c_str());
}
}
-
-//===----------------------------------------------------------------------===//
-// FDHandle class implementation
-//
-
-FDHandle::~FDHandle() throw() {
- if (FD != -1) close(FD);
-}
-
-FDHandle &FDHandle::operator=(int fd) throw() {
- if (FD != -1) close(FD);
- FD = fd;
- return *this;
-}
More information about the llvm-commits
mailing list