From 9978476c14e80514fe7d03685a8ba3643e19f876 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 6 May 2006 23:25:53 +0000 Subject: Apply bug fix supplied by Greg Pettyjohn for a bug he found: '' is not a legal path on Windows. llvm-svn: 28153 --- llvm/lib/Bytecode/Archive/Archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bytecode/Archive/Archive.cpp') 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(""), 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(); -- cgit v1.2.3