diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-20 08:41:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-20 08:41:02 +0000 |
commit | f0693e040c6eba26782035ad9442ed017756f129 (patch) | |
tree | 96fbdd10b1030ce0146bc9ba97de22e72d013201 /src | |
parent | 899a855343618ecd5fcf3226d68fee272d6eed61 (diff) | |
download | coreutils-f0693e040c6eba26782035ad9442ed017756f129.tar.xz |
(remove_parents): Strip trailing slashes.
Diffstat (limited to 'src')
-rw-r--r-- | src/rmdir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index 4c401350d..d9c0fa513 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -98,6 +98,7 @@ remove_parents (char *path) char *slash; int fail = 0; + strip_trailing_slashes (path); while (1) { slash = strrchr (path, '/'); |