]> git.ipfire.org Git - thirdparty/coreutils.git/commit
du: read and process --files0-from= input a name at a time,
authorJim Meyering <meyering@redhat.com>
Mon, 24 Nov 2008 08:55:55 +0000 (09:55 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 2 Dec 2008 12:12:13 +0000 (13:12 +0100)
commit031e2fb5e9501fb9cda4d739a92abb02e2b05a52
tree1ac3a5640ea8d70cd9ee8de9ea182ed330067aa8
parente181802521d4e19e367dbe8cfa877296bb5dafb2
du: read and process --files0-from= input a name at a time,

rather than by reading the entire input into memory and *then*
processing each file name.
* src/du.c: Include "argv-iter.h", not "readtokens0.h".
(main): Rewrite to use argv-iter.
Call xfts_open on each argument, rather than on the entire
argv list at once.
Call print_size here, not from du_files.
Diagnose read failure.
* NEWS (Bug fixes): Mention it.
* THANKS: update.
Reported by Barry Kelly.  More details in
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/15159/
NEWS
THANKS
src/du.c