[Bug 265200] du -at broken – filters out only directories, not all files

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Jan 2024 07:06:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265200

--- Comment #4 from Michal Scigocki <michal.os@hotmail.com> ---
Hello,

I had a look, and the original implementation of the du threshold was only
checking the threshold for directory type files. The threshold wasn't being
checked for regular files, i.e. when the -a flag was set.

I have created a patch that applies the same threshold check also for regular
files.

I also created a patch that adds a test for the du -t behaviour.

I checked the patch and ran the du kyua test on 14.0-RELEASE and 15.0-CURRENT.

-- 
You are receiving this mail because:
You are the assignee for the bug.