Lines Matching refs:buildpath
491 /* static char *buildpath; */ /* full path (so far) to extracted file */
492 /* static char *end; */ /* pointer to end of buildpath ('\0') */
513 if ((G.build_end-G.buildpath) > FILNAMSIZ-3) /* room for "/a\0" */
515 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */
517 free(G.buildpath);
523 FnFilter1(G.buildpath)));
524 free(G.buildpath);
528 if (MKDIR(G.buildpath, 0777) == -1) { /* create the directory */
532 FnFilter2(G.buildpath), FnFilter1(G.filename)));
533 free(G.buildpath);
542 FnFilter2(G.buildpath), FnFilter1(G.filename)));
543 free(G.buildpath);
549 "checkdir error: path too long: %s\n", FnFilter1(G.buildpath)));
550 free(G.buildpath);
556 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(G.buildpath)));
563 G.buildpath. Not our responsibility to worry whether pathcomp has room.
567 strcpy(pathcomp, G.buildpath);
570 free(G.buildpath);
571 G.buildpath = G.build_end = (char *)NULL;
584 if ((G.build_end-G.buildpath) >= FILNAMSIZ) {
589 FnFilter1(G.filename), FnFilter2(G.buildpath)));
593 Trace((stderr, "buildpath now = [%s]\n", FnFilter1(G.buildpath)));
605 Trace((stderr, "initializing buildpath to "));
606 if ((G.buildpath = (char *)malloc(strlen(G.filename)+G.rootlen+1))
610 strcpy(G.buildpath, G.rootpath);
611 G.build_end = G.buildpath + G.rootlen;
613 *G.buildpath = '\0';
614 G.build_end = G.buildpath;
616 Trace((stderr, "[%s]\n", FnFilter1(G.buildpath)));