From 362ac5a2c7eb87c7298c31f089cb83d5a220ad0b Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Sun, 24 Feb 2019 03:17:08 +1100 Subject: [PATCH] remove creation of Master directory --- src/66/66-tree.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/66/66-tree.c b/src/66/66-tree.c index 34c72e3e..32ab4582 100644 --- a/src/66/66-tree.c +++ b/src/66/66-tree.c @@ -241,25 +241,7 @@ int create_tree(char const *tree,char const *const *envp) { VERBO3 strerr_warnwu3sys("create ",dst,SS_RESOLVE) ; return 0 ; - }/* - memcpy(dst + newlen, SS_RESOLVE, SS_RESOLVE_LEN) ; - dst[newlen + SS_RESOLVE_LEN] = 0 ; - VERBO3 strerr_warnt3x("create directory: ",dst,SS_MASTER) ; - if (!dir_create_under(dst,SS_MASTER + 1,0755)) - { - VERBO3 strerr_warnwu3sys("create ",dst,SS_MASTER) ; - return 0 ; - } - memcpy(dst + newlen + SS_RESOLVE_LEN, SS_MASTER, SS_MASTER_LEN) ; - dst[newlen + SS_RESOLVE_LEN + SS_MASTER_LEN] = 0 ; - - VERBO3 strerr_warnt3x("create file: ",dst,"/type") ; - if(!file_write_unsafe(dst,"type","bundle\n",7)) - { - VERBO3 strerr_warnwu3sys("write ",dst,"/type") ; - return 0 ; } - */ dst[newlen] = 0 ; char sym[newlen + 1 + SS_SYM_SVC_LEN + 1] ; -- GitLab