[llvm-commits] CVS: llvm/lib/System/Win32/MappedFile.cpp Path.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sun Dec 12 22:26:46 PST 2004
Changes in directory llvm/lib/System/Win32:
MappedFile.cpp updated: 1.4 -> 1.5
Path.cpp updated: 1.8 -> 1.9
---
Log message:
Fix recent breakage of win32 build
---
Diffs of the changes: (+1 -9)
Index: llvm/lib/System/Win32/MappedFile.cpp
diff -u llvm/lib/System/Win32/MappedFile.cpp:1.4 llvm/lib/System/Win32/MappedFile.cpp:1.5
--- llvm/lib/System/Win32/MappedFile.cpp:1.4 Sat Dec 11 11:37:01 2004
+++ llvm/lib/System/Win32/MappedFile.cpp Mon Dec 13 00:26:35 2004
@@ -97,7 +97,7 @@
return base_;
}
-size_t MappedFile::size() {
+size_t MappedFile::size() const {
assert(info_ && "MappedFile not initialized");
return info_->size;
}
Index: llvm/lib/System/Win32/Path.cpp
diff -u llvm/lib/System/Win32/Path.cpp:1.8 llvm/lib/System/Win32/Path.cpp:1.9
--- llvm/lib/System/Win32/Path.cpp:1.8 Sun Dec 12 21:03:42 2004
+++ llvm/lib/System/Win32/Path.cpp Mon Dec 13 00:26:35 2004
@@ -244,14 +244,6 @@
}
bool
-Path::isArchive() const {
- if (readable()) {
- return hasMagicNumber("!<arch>\012");
- }
- return false;
-}
-
-bool
Path::exists() const {
DWORD attr = GetFileAttributes(path.c_str());
return attr != INVALID_FILE_ATTRIBUTES;
More information about the llvm-commits
mailing list