This commit is contained in:
Ben Harris 2016-10-24 20:06:26 -04:00
parent 416000fcfc
commit 89e6dd1e4a
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ void listdir (const char *name) {
listdir(path);
}
else if (entry->d_type == DT_DIR) {
if (ht.get(&entry->d_ino)) continue;
ht.put(&entry->d_ino, true);
//if (ht.get(&entry->d_ino)) continue;
//ht.put(&entry->d_ino, true);
dir_cnt++;
char path[4096];
int len = snprintf(path, sizeof(path)-1, "%s/%s", name, entry->d_name);