X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9a54a640f74dcaeb03ef99799a5320b3eb77f7ec..cf0f454b8ab967444f2fe5960b3caa01efb93a41:/util.c 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. */