From 42bd431dca4c57d4da06669caf4ac4a4a315cdbe Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 5 Jul 2016 18:19:21 +0000 Subject: [PATCH] Fix dup detection --- filesize/filesize | 1 + 1 file changed, 1 insertion(+) diff --git a/filesize/filesize b/filesize/filesize index 114882c..3ec0a54 100755 --- a/filesize/filesize +++ b/filesize/filesize @@ -12,6 +12,7 @@ sub collect { $atime,$mtime,$ctime,$blksize,$blocks) = lstat($_); return if $seen{"$dev:$ino"}; $hist{$size}++; + $seen{"$dev:$ino"} = 1; } find(\&collect, @ARGV ? @ARGV : ("."));