From 89e6dd1e4abbb86deac251610252bc1ed49ce289 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 24 Oct 2016 20:06:26 -0400 Subject: [PATCH] done --- dircount.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dircount.cc b/dircount.cc index dbe9676..410e3d8 100644 --- a/dircount.cc +++ b/dircount.cc @@ -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);