[llvm-commits] CVS: llvm/lib/Support/MemoryBuffer.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sun Apr 29 07:44:02 PDT 2007
Changes in directory llvm/lib/Support:
MemoryBuffer.cpp updated: 1.2 -> 1.3
---
Log message:
Fix MemoryBuffer breakage correctly.
---
Diffs of the changes: (+1 -1)
MemoryBuffer.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Support/MemoryBuffer.cpp
diff -u llvm/lib/Support/MemoryBuffer.cpp:1.2 llvm/lib/Support/MemoryBuffer.cpp:1.3
--- llvm/lib/Support/MemoryBuffer.cpp:1.2 Sun Apr 29 09:21:44 2007
+++ llvm/lib/Support/MemoryBuffer.cpp Sun Apr 29 09:43:31 2007
@@ -159,7 +159,7 @@
MemoryBuffer *MemoryBuffer::getFile(const char *FilenameStart, unsigned FnSize,
int64_t FileSize) {
- sys::PathWithStatus P(std::string(FilenameStart, FnSize));
+ sys::PathWithStatus P(FilenameStart, FnSize);
#if 1
return new MemoryBufferMMapFile(P);
#else
More information about the llvm-commits
mailing list