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 | 9978476c14e80514fe7d03685a8ba3643e19f876 (patch) | |
tree | 495bd52a15305179d32d9c4c938f56b036a9f70e /llvm/lib/Bytecode/Archive/Archive.cpp | |
parent | 7e7bcf3a54ff71c90e0c067da65d98a7d9315bb1 (diff) | |
download | bcm5719-llvm-9978476c14e80514fe7d03685a8ba3643e19f876.tar.gz bcm5719-llvm-9978476c14e80514fe7d03685a8ba3643e19f876.zip |
Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is not a legal path on Windows.
llvm-svn: 28153
Diffstat (limited to 'llvm/lib/Bytecode/Archive/Archive.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Archive/Archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Archive/Archive.cpp b/llvm/lib/Bytecode/Archive/Archive.cpp index 6e4d14c6a93..66b9d703a0d 100644 --- a/llvm/lib/Bytecode/Archive/Archive.cpp +++ b/llvm/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(); |