summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-04-30 12:58:17 -0700
committerWayne Davison <wayned@samba.org>2010-04-30 12:58:17 -0700
commit9fbec6e44c7381ab28e78a991d37b57092459e99 (patch)
tree6b68992a1bd031dd0740c32ba87927c1cf9857b8 /util.c
parent25082d1ef6712a15c52a1dacb36b7f0642c23ac8 (diff)
downloadrsync-9fbec6e44c7381ab28e78a991d37b57092459e99.tar.gz
May as well use do_mkdir() directly these days.
Diffstat (limited to 'util.c')
-rw-r--r--util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util.c b/util.c
index 2c4c571e..02085d42 100644
--- a/util.c
+++ b/util.c
@@ -177,13 +177,6 @@ int set_modtime(const char *fname, time_t modtime, uint32 mod_nsec, mode_t mode)
}
}
-/* This creates a new directory with default permissions. Now that we
- * leave the original umask set, we can just mkdir with mode 777. */
-int mkdir_defmode(char *fname)
-{
- return do_mkdir(fname, ACCESSPERMS);
-}
-
/* Create any necessary directories in fname. Any missing directories are
* created with default permissions. Returns < 0 on error, or the number
* of directories created. */