Fix the bug that would make `du /' omit the `/' on the last line.
authorJim Meyering <jim@meyering.net>
Wed, 9 Jul 2003 10:00:42 +0000 (10:00 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 9 Jul 2003 10:00:42 +0000 (10:00 +0000)
commit859428bfaae6efbc911b0585b7ceb17ad24ac9a3
treead2a9400f655a0cf755b612ac7a5fb6b5e0901e3
parent4ad6473e4f0ff2575efd219e8a884c088c479a2e
Fix the bug that would make `du /' omit the `/' on the last line.
E.g., `du --exclude '[^/]*' -x /' would print only "4\t\n" for me.

(ftw_dir): Don't clobber the leading `/'.
Reported by Chris Lesniewski as http://bugs.debian.org/200542.
lib/ftw.c