mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Remove last use of PathV1.h from Archive.h
Store the individual fields we need instead of a sys::FileStatus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -172,7 +172,11 @@ bool Archive::addFileBefore(StringRef filePath, iterator where,
|
||||
delete mbr;
|
||||
return true;
|
||||
}
|
||||
mbr->info = *FSInfo;
|
||||
mbr->User = FSInfo->getUser();
|
||||
mbr->Group = FSInfo->getGroup();
|
||||
mbr->Mode = FSInfo->getMode();
|
||||
mbr->ModTime = FSInfo->getTimestamp();
|
||||
mbr->Size = FSInfo->getSize();
|
||||
|
||||
unsigned flags = 0;
|
||||
bool hasSlash = filePath.str().find('/') != std::string::npos;
|
||||
|
Reference in New Issue
Block a user