Merge pull request #2427 from xperia64/develop

Add symbolic link support
This commit is contained in:
Ted John 2015-12-05 21:34:44 +00:00
commit 1d3cefe73d
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ static int dirfilter(const struct dirent *d)
return 0;
}
#if defined(_DIRENT_HAVE_D_TYPE) || defined(DT_UNKNOWN)
if (d->d_type == DT_DIR)
if (d->d_type == DT_DIR || d->d_type == DT_LNK)
{
return 1;
} else {