Lines Matching refs:dirbuildup
107 char *dirbuildup; in create_dir_hierarchy() local
116 dirbuildup = malloc(outlen + 1); in create_dir_hierarchy()
117 if(!dirbuildup) { in create_dir_hierarchy()
121 dirbuildup[0] = '\0'; in create_dir_hierarchy()
132 size_t dlen = strlen(dirbuildup); in create_dir_hierarchy()
134 snprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
138 strcpy(dirbuildup, tempdir); in create_dir_hierarchy()
140 snprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
142 if(access(dirbuildup, F_OK) == -1) { in create_dir_hierarchy()
143 if(-1 == mkdir(dirbuildup, (mode_t)0000750)) { in create_dir_hierarchy()
144 show_dir_errno(errors, dirbuildup); in create_dir_hierarchy()
153 Curl_safefree(dirbuildup); in create_dir_hierarchy()