mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
removed symbolic links handling from windows compilation
This commit is contained in:
parent
fe965d2335
commit
1b9fe3bc8e
@ -112,6 +112,8 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
|
||||
|
||||
mFullPath = mFolderName + "/" + mFileName ;
|
||||
|
||||
#warning should we take care of symbolic links on windows?
|
||||
#ifndef WINDOWS_SYS
|
||||
if( ent->d_type == DT_LNK && !mAllowSymLinks)
|
||||
{
|
||||
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
|
||||
@ -124,6 +126,7 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
|
||||
should_skip = true ;
|
||||
return true ;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct stat64 buf ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user