mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
removed symbolic links handling from windows compilation
This commit is contained in:
parent
fe965d2335
commit
1b9fe3bc8e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue