[llvm-commits] CVS: llvm/lib/Bytecode/Archive/Archive.cpp

Jeff Cohen jeffc at jolt-lang.org
Sat May 6 16:26:06 PDT 2006



Changes in directory llvm/lib/Bytecode/Archive:

Archive.cpp updated: 1.10 -> 1.11
---
Log message:

Apply bug fix supplied by Greg Pettyjohn for a bug he found:  '<invalid>' is not a legal path on Windows.

---
Diffs of the changes:  (+1 -1)

 Archive.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bytecode/Archive/Archive.cpp
diff -u llvm/lib/Bytecode/Archive/Archive.cpp:1.10 llvm/lib/Bytecode/Archive/Archive.cpp:1.11
--- llvm/lib/Bytecode/Archive/Archive.cpp:1.10	Tue Nov 29 23:21:10 2005
+++ llvm/lib/Bytecode/Archive/Archive.cpp	Sat May  6 18:25:53 2006
@@ -39,7 +39,7 @@
 // This default constructor is only use by the ilist when it creates its
 // sentry node. We give it specific static values to make it stand out a bit.
 ArchiveMember::ArchiveMember()
-  : next(0), prev(0), parent(0), path("<invalid>"), flags(0), data(0)
+  : next(0), prev(0), parent(0), path("--invalid--"), flags(0), data(0)
 {
   info.user = sys::Process::GetCurrentUserId();
   info.group = sys::Process::GetCurrentGroupId();






More information about the llvm-commits mailing list