summaryrefslogtreecommitdiff
path: root/lib/Archive
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-05-06 23:25:53 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-05-06 23:25:53 +0000
commit943b9b6651b552a5c55010c7cdb8f8195ad9e9a6 (patch)
tree30c98e50e1019503beaef603189b3d74d059cbec /lib/Archive
parent310b578023bc6c91f5961582ec8de49c9268f711 (diff)
downloadllvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.tar.gz
llvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.tar.bz2
llvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.tar.xz
Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is not a legal path on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive')
-rw-r--r--lib/Archive/Archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp
index 6e4d14c6a9..66b9d703a0 100644
--- a/lib/Archive/Archive.cpp
+++ b/lib/Archive/Archive.cpp
@@ -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();