From f0693e040c6eba26782035ad9442ed017756f129 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 20 Sep 2002 08:41:02 +0000 Subject: [PATCH] (remove_parents): Strip trailing slashes. --- src/rmdir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rmdir.c b/src/rmdir.c index 4c401350d7..d9c0fa5130 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, '/'); -- 2.47.2