Skip to content
Snippets Groups Projects
Commit 362ac5a2 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

remove creation of Master directory

parent a9ea67ec
No related branches found
No related tags found
No related merge requests found
...@@ -241,25 +241,7 @@ int create_tree(char const *tree,char const *const *envp) ...@@ -241,25 +241,7 @@ int create_tree(char const *tree,char const *const *envp)
{ {
VERBO3 strerr_warnwu3sys("create ",dst,SS_RESOLVE) ; VERBO3 strerr_warnwu3sys("create ",dst,SS_RESOLVE) ;
return 0 ; 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 ; dst[newlen] = 0 ;
char sym[newlen + 1 + SS_SYM_SVC_LEN + 1] ; char sym[newlen + 1 + SS_SYM_SVC_LEN + 1] ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment