Lines Matching refs:tmproot
727 char *tmproot;
729 if ((tmproot = (char *)malloc(rootlen+2)) == (char *)NULL) {
733 strcpy(tmproot, pathcomp);
734 if (tmproot[rootlen-1] == '/') {
735 tmproot[--rootlen] = '\0';
737 if (rootlen > 0 && (stat(tmproot, &G.statbuf) ||
740 if (!G.create_dirs /* || iswild(tmproot) */ ) {
741 free(tmproot);
746 /* create the directory (could add loop here scanning tmproot
748 if (mkdir(tmproot, 0777) == -1) {
751 FnFilter1(tmproot)));
752 free(tmproot);
759 tmproot[rootlen++] = '/';
760 tmproot[rootlen] = '\0';
761 if ((rootpath = (char *)realloc(tmproot, rootlen+1)) == NULL) {
762 free(tmproot);