Lines Matching refs:tmproot
796 char *tmproot;
798 if ((tmproot = (char *)malloc(G.rootlen+2)) == (char *)NULL) {
802 strcpy(tmproot, pathcomp);
803 if (tmproot[G.rootlen-1] == '/') {
804 tmproot[--G.rootlen] = '\0';
806 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) ||
809 if (!G.create_dirs /* || iswild(tmproot) */ ) {
810 free(tmproot);
815 /* create the directory (could add loop here scanning tmproot
817 if (mkdir(tmproot, 0777) == -1) {
820 FnFilter1(tmproot)));
821 free(tmproot);
828 tmproot[G.rootlen++] = '/';
829 tmproot[G.rootlen] = '\0';
830 if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) {
831 free(tmproot);