[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du 5.2.1 ignores arguments
From: |
Andreas Schwab |
Subject: |
Re: du 5.2.1 ignores arguments |
Date: |
Wed, 25 Aug 2004 13:27:24 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Volker Kuhlmann <address@hidden> writes:
> Uhhm, agg. I just compiled the vanilla coreutils and they work fine, so
> SuSE has broken their shipped version.
I have added this official patch from Jim Meyering:
2004-03-28 Jim Meyering <address@hidden>
Under some circumstances, without -c, du would mistakenly count the
space of hard-linked files, not just the first one it encountered.
Reported by Anthony Thyssen.
* src/du.c (du_files): Don't ever clear the set of `seen' dev/inodes.
Except that this patch is broken and needs another one to work correctly,
unfortunately only described as "minor optimization".
2004-03-28 Jim Meyering <address@hidden>
Minor optimization:
* src/du.c (process_file): Don't record dev/inode for directories.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."