Lines Matching refs:rootpath
512 /* user gave full pathname: don't prepend rootpath */
679 static int rootlen = 0; /* length of rootpath */
680 static char *rootpath; /* user's "extract-to" directory */
860 strcpy(buildpath, rootpath);
871 ROOT: if appropriate, store the path in rootpath and create it if
883 if (rootlen > 0) /* rootpath was already set, nothing to do */
929 /* split rootpath in path and disk */
937 if (rootpath[rootlen - 1] != '/') {
938 rootpath[rootlen++] = '/';
939 rootpath[rootlen] = '\0';
941 if ((rootpath = (char *)realloc(tmproot, rootlen+1)) == NULL) {
946 Trace((stderr, "rootpath now = [%s], rootdisk now = [%s]\n",
947 FnFilter1(rootpath), FnFilter2(rootdisk)));
954 END: free rootpath, immediately prior to program exit.
958 Trace((stderr, "freeing rootpath\n"));
960 free(rootpath);