Lines Matching refs:buildpath
622 /* static char *buildpath; */ /* full path (so far) to extracted file */
623 /* static char *end; */ /* pointer to end of buildpath ('\0') */
651 * check end-buildpath after each append, set warning variable if
656 if ((G.end-G.buildpath) > FILNAMSIZ-3)
658 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */
660 free(G.buildpath);
666 FnFilter1(G.buildpath)));
667 free(G.buildpath);
671 if (mkdir(G.buildpath, 0777) == -1) { /* create the directory */
675 FnFilter2(G.buildpath), FnFilter1(G.filename)));
676 free(G.buildpath);
685 FnFilter2(G.buildpath), FnFilter1(G.filename)));
686 free(G.buildpath);
692 "checkdir error: path too long: %s\n", FnFilter1(G.buildpath)));
693 free(G.buildpath);
699 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(G.buildpath)));
706 G.buildpath.
710 strcpy(pathcomp, G.buildpath);
713 free(G.buildpath);
714 G.buildpath = G.end = (char *)NULL;
735 if ((G.end-G.buildpath) >= FILNAMSIZ) {
740 FnFilter1(G.filename), FnFilter2(G.buildpath)));
744 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(G.buildpath)));
758 Trace((stderr, "initializing buildpath to "));
760 if ((G.buildpath = (char *)malloc(strlen(G.filename)+G.rootlen+
763 if ((G.buildpath = (char *)malloc(strlen(G.filename)+G.rootlen+1))
768 strcpy(G.buildpath, G.rootpath);
769 G.end = G.buildpath + G.rootlen;
771 *G.buildpath = '\0';
772 G.end = G.buildpath;
774 Trace((stderr, "[%s]\n", FnFilter1(G.buildpath)));