Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is not...
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 6 May 2006 23:25:53 +0000 (23:25 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 6 May 2006 23:25:53 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28153 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Archive/Archive.cpp
lib/Bytecode/Archive/Archive.cpp

index 6e4d14c6a9315a1db60351eba68866345fd4f7ad..66b9d703a0da117537d3ceae4cadc68000e55180 100644 (file)
@@ -39,7 +39,7 @@ ArchiveMember::getMemberSize() const {
 // 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();
index 6e4d14c6a9315a1db60351eba68866345fd4f7ad..66b9d703a0da117537d3ceae4cadc68000e55180 100644 (file)
@@ -39,7 +39,7 @@ ArchiveMember::getMemberSize() const {
 // 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();