Lines Matching refs:buildpath
559 static char *buildpath; /* full path (so far) to extracted file */
560 static char *end; /* pointer to end of buildpath ('\0') */
587 * check end-buildpath after each append, set warning variable if
591 if ((end-buildpath) > NAME_MAX-3) /* need ':', one-char name, '\0' */
593 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */
595 free(buildpath);
600 FnFilter1(buildpath)));
601 free(buildpath);
605 if (macmkdir(buildpath) == -1) { /* create the directory */
607 FnFilter2(buildpath), FnFilter1(G.filename)));
608 free(buildpath);
615 FnFilter2(buildpath), FnFilter1(G.filename)));
616 free(buildpath);
622 FnFilter1(buildpath)));
623 free(buildpath);
629 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(buildpath)));
636 buildpath.
640 strcpy(pathcomp, buildpath);
643 free(buildpath);
644 buildpath = end = (char *)NULL;
665 if ((end-buildpath) >= NAME_MAX) {
669 FnFilter1(G.filename), FnFilter2(buildpath)));
673 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(buildpath)));
685 Trace((stderr, "initializing buildpath to "));
686 if ((buildpath = (char *)malloc(strlen(G.filename)+rootlen+2))
690 strcpy(buildpath, rootpath);
691 end = buildpath + rootlen;
693 end = buildpath;
699 Trace((stderr, "[%s]\n", FnFilter1(buildpath)));