summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mkdir.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index 48b03baa5..549bdadde 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -142,12 +142,6 @@ main (int argc, char **argv)
{
int fail = 0;
- /* Remove any trailing slashes. Not removing them would lead to calling
- `mkdir ("dir/", mode)' for e.g., the commands `mkdir dir/' and
- `mkdir -p dir/', and such a call fails on NetBSD systems when `dir'
- doesn't already exist. */
- strip_trailing_slashes (argv[optind]);
-
if (create_parents)
{
char *parents = dir_name (argv[optind]);