Add symbolic link support

This commit is contained in:
xperia64 2015-12-03 00:20:04 +00:00
parent 594f3d3c74
commit 562d7fdb61
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 {