[llvm-commits] CVS: llvm/lib/Bytecode/Archive/Archive.cpp
Reid Spencer
reid at x10sys.com
Sat Apr 7 12:45:48 PDT 2007
Changes in directory llvm/lib/Bytecode/Archive:
Archive.cpp updated: 1.20 -> 1.21
---
Log message:
Fix another PathWithStatus issue.
---
Diffs of the changes: (+2 -1)
Archive.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Archive/Archive.cpp
diff -u llvm/lib/Bytecode/Archive/Archive.cpp:1.20 llvm/lib/Bytecode/Archive/Archive.cpp:1.21
--- llvm/lib/Bytecode/Archive/Archive.cpp:1.20 Wed Apr 4 01:31:04 2007
+++ llvm/lib/Bytecode/Archive/Archive.cpp Sat Apr 7 14:45:30 2007
@@ -116,7 +116,8 @@
path.getMagicNumber(magic,4);
signature = magic.c_str();
std::string err;
- const sys::FileStatus *FSinfo = path.getFileStatus(false, ErrMsg);
+ const sys::FileStatus *FSinfo =
+ sys::PathWithStatus(path).getFileStatus(false, ErrMsg);
if (FSinfo)
info = *FSinfo;
else
More information about the llvm-commits
mailing list