Merge pull request #764 from lbakman/master

Determine if path is directory for XFS filesystem
This commit is contained in:
orbitcowboy 2016-01-20 13:41:48 +01:00
commit 2484a29916
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ static void addFiles2(std::map<std::string, std::size_t> &files,
new_path = path + '/' + dir_result->d_name;
if (dir_result->d_type == DT_DIR) {
if (dir_result->d_type == DT_DIR || (dir_result->d_type == DT_UNKNOWN && FileLister::isDirectory(new_path))) {
if (recursive && !ignored.Match(new_path)) {
addFiles2(files, new_path, extra, recursive, ignored);
}