]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(du_files): Don't strip any trailing slash.
authorJim Meyering <jim@meyering.net>
Sun, 24 Nov 2002 16:12:52 +0000 (16:12 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 24 Nov 2002 16:12:52 +0000 (16:12 +0000)
commit4b8fa5d8ad97056eb4e5ec4c60ba223520570e0a
treeff9411a68b89dfbe95413a04709688c61f1aa69a
parent6f5375c038aea496240581fc527baf69b7676980
(du_files): Don't strip any trailing slash.
Rewrite so that `/' is no longer represented internally as
the empty string.
(count_entry): When appending a file name component,
account for the fact that the current path may end in `/'.
François Pinard reported that `du symlink-to-dir/' was not
equivalent to `du symlink-to-dir/.'.  Now it is.
src/du.c