Lines Matching refs:tmproot
887 char *tmproot, *p;
893 if ((tmproot = (char *)malloc(rootlen+2)) == (char *)NULL) {
898 strcpy(tmproot, "/");
900 *tmproot = '\0';
901 strcat(tmproot, pathcomp);
903 FnFilter1(tmproot)));
904 if (tmproot[rootlen-1] == '/') {
905 tmproot[--rootlen] = '\0';
907 if (rootlen > 0 && (SSTAT(tmproot, &G.statbuf) ||
910 if (!G.create_dirs /* || iswild(tmproot) */ ) {
911 free(tmproot);
916 /* create the directory (could add loop here scanning tmproot
918 if (mkdir(tmproot) == -1) {
921 FnFilter1(tmproot)));
922 free(tmproot);
930 if ((p = strchr(tmproot, ':')) != NULL) {
934 rootlen = p - tmproot;
941 if ((rootpath = (char *)realloc(tmproot, rootlen+1)) == NULL) {
942 free(tmproot);