https://bugs.kde.org/show_bug.cgi?id=406030

Jeremy Whiting <jpwhit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/filelight/commit/7356
                   |                            |cc3bc8164073e161820c32321ec
                   |                            |8bf5b52c4

--- Comment #2 from Jeremy Whiting <jpwhit...@kde.org> ---
Git commit 7356cc3bc8164073e161820c32321ec8bf5b52c4 by Jeremy Whiting.
Committed on 17/01/2023 at 17:50.
Pushed by whiting into branch 'master'.

Don't double count hard link files.
On posix file systems, if the number of links for a file is >1
add it to a set the first time we count it and never count it again.
Fixes double counting files that aren't taking twice as much space.

M  +4    -0    autotests/directoryIteratorTest.cpp
M  +2    -2    autotests/localListerTest.cpp
M  +1    -0    src/directoryEntry.h
M  +1    -1    src/localLister.cpp
M  +13   -0    src/posixWalker.cpp
M  +4    -0    src/posixWalker.h

https://invent.kde.org/utilities/filelight/commit/7356cc3bc8164073e161820c32321ec8bf5b52c4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to