parent
c8226f32e9
commit
d7a7abed62
|
|
@ -145,8 +145,8 @@ const FileEntry *FileManager::getFile(const char *NameStart,
|
||||||
// It exists. See if we have already opened a file with the same inode.
|
// It exists. See if we have already opened a file with the same inode.
|
||||||
// This occurs when one dir is symlinked to another, for example.
|
// This occurs when one dir is symlinked to another, for example.
|
||||||
FileEntry &UFE =
|
FileEntry &UFE =
|
||||||
const_cast<FileEntry&>(*UniqueFiles.insert(FileEntry(StatBuf.st_dev,
|
const_cast<FileEntry&>(*UniqueFiles.insert(FileEntry(StatBuf.st_dev,
|
||||||
StatBuf.st_ino)).first);
|
StatBuf.st_ino)).first);
|
||||||
|
|
||||||
|
|
||||||
NamedFileEnt.setValue(&UFE);
|
NamedFileEnt.setValue(&UFE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue