mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -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 ;
|
mFullPath = mFolderName + "/" + mFileName ;
|
||||||
|
|
||||||
|
#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 && !mAllowSymLinks)
|
||||||
{
|
{
|
||||||
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
|
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
|
||||||
@ -124,6 +126,7 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
|
|||||||
should_skip = true ;
|
should_skip = true ;
|
||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct stat64 buf ;
|
struct stat64 buf ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user