Lines Matching refs:tmproot
832 char *tmproot;
834 if ((tmproot = (char *)malloc(G.rootlen+2)) == (char *)NULL) {
838 strcpy(tmproot, pathcomp);
839 if (tmproot[G.rootlen-1] == '/') {
840 tmproot[--G.rootlen] = '\0';
842 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) ||
845 if (!G.create_dirs /* || iswild(tmproot) */ ) {
846 free(tmproot);
851 /* create the directory (could add loop here scanning tmproot
853 if (mkdir(tmproot, 0777) == -1) {
857 FnFilter1(tmproot), strerror(errno)));
858 free(tmproot);
865 tmproot[G.rootlen++] = '/';
866 tmproot[G.rootlen] = '\0';
867 if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) {
868 free(tmproot);