du: -x should not count files in other file systems
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Dec 2011 02:00:42 +0000 (18:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Dec 2011 02:04:05 +0000 (18:04 -0800)
commitcfe1040c093be1c1a9b2403e713f1d1c2242a4bc
tree14de0a5fc39a117ea2d44e5cb297475585eb22fa
parent021a0664093506394fd8ee0a789ebfe6e6b69deb
du: -x should not count files in other file systems

This fixes Bug#10293, which I guess was introduced in commit
95c948b06a dated 2003-10-02.
* NEWS: Document fix.
* src/du.c (process_file): Don't count files in different file
systems if -x is given.
* tests/du/one-file-system: Test for this bug.
NEWS
src/du.c
tests/du/one-file-system