Lines Matching refs:buildpath
632 static char *buildpath; /* full path (so far) to extracted file */
633 static char *end; /* pointer to end of buildpath ('\0') */
657 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */
659 free(buildpath);
662 if (mkdir(buildpath, 0777) == -1) { /* create the directory */
666 FnFilter2(buildpath), FnFilter1(G.filename)));
667 free(buildpath);
676 FnFilter2(buildpath), FnFilter1(G.filename)));
677 free(buildpath);
683 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(buildpath)));
690 buildpath.
694 strcpy(pathcomp, buildpath);
697 free(buildpath);
698 buildpath = end = (char *)NULL;
745 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(buildpath)));
759 Trace((stderr, "initializing buildpath to "));
760 if ((buildpath = (char *)malloc(strlen(G.filename)+rootlen+1))
764 strcpy(buildpath, rootpath);
765 end = buildpath + rootlen;
767 *buildpath = '\0';
768 end = buildpath;
770 Trace((stderr, "[%s]\n", FnFilter1(buildpath)));