mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug preventing plugins loaded as symbolic links to be considered by folderIterator
This commit is contained in:
parent
5af54254ca
commit
5d1f479a42
@ -115,11 +115,14 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
|
||||
|
||||
#warning should we take care of symbolic links on windows?
|
||||
#ifndef WINDOWS_SYS
|
||||
if( ent->d_type == DT_LNK && !mAllowSymLinks)
|
||||
if( ent->d_type == DT_LNK)
|
||||
{
|
||||
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
|
||||
should_skip = true ;
|
||||
return true ;
|
||||
if(!mAllowSymLinks)
|
||||
{
|
||||
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
|
||||
should_skip = true ;
|
||||
return true ;
|
||||
}
|
||||
}
|
||||
else if( ent->d_type != DT_DIR && ent->d_type != DT_REG)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user