diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-05-06 23:25:53 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-05-06 23:25:53 +0000 |
commit | 943b9b6651b552a5c55010c7cdb8f8195ad9e9a6 (patch) | |
tree | 30c98e50e1019503beaef603189b3d74d059cbec /lib | |
parent | 310b578023bc6c91f5961582ec8de49c9268f711 (diff) | |
download | external_llvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.zip external_llvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.tar.gz external_llvm-943b9b6651b552a5c55010c7cdb8f8195ad9e9a6.tar.bz2 |
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')
-rw-r--r-- | lib/Archive/Archive.cpp | 2 | ||||
-rw-r--r-- | lib/Bytecode/Archive/Archive.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp index 6e4d14c..66b9d70 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(); diff --git a/lib/Bytecode/Archive/Archive.cpp b/lib/Bytecode/Archive/Archive.cpp index 6e4d14c..66b9d70 100644 --- a/lib/Bytecode/Archive/Archive.cpp +++ b/lib/Bytecode/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(); |