sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit ada69106b7c458f620d99f2e9e69d26a64b1ba95
parent d8e829a88db8db9a5613a647fcd381bdbfee92f4
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Mon,  6 Apr 2015 00:49:00 +0300

du: Reset size counter for each file read

Diffstat:
Mdu.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/du.c b/du.c @@ -103,6 +103,7 @@ main(int argc, char *argv[]) printpath(n, "."); } else { for (; *argv; argc--, argv++) { + n = 0; recurse(*argv, &n, &r); printpath(n, *argv); }