Home
last modified time | relevance | path

Searched refs:chdname (Results 1 – 6 of 6) sorted by relevance

/freebsd/bin/pax/
H A Doptions.c77 char *chdname; variable
736 chdname = optarg; in tar_options()
756 incfiles[nincfiles - 1].dir = chdname; in tar_options()
857 dir = chdname; in tar_options()
884 chdname = *argv++; in tar_options()
885 } else if (pat_add(*argv++, chdname) < 0) in tar_options()
896 chdname = NULL; in tar_options()
901 if (chdname != NULL) { /* initial chdir() */ in tar_options()
902 if (ftree_add(chdname, 1) < 0) in tar_options()
H A Dar_subs.c271 if ((arcn->pat != NULL) && (arcn->pat->chdname != NULL)) in extract()
272 if (chdir(arcn->pat->chdname) != 0) in extract()
274 arcn->pat->chdname); in extract()
325 if ((arcn->pat != NULL) && (arcn->pat->chdname != NULL)) in extract()
H A Dpax.h170 char *chdname; /* the dir to change to if not NULL. */ member
H A Dar_io.c149 if (chdname != NULL) in ar_open()
150 if (chdir(chdname) != 0) { in ar_open()
151 syswarn(1, errno, "Failed chdir to %s", chdname); in ar_open()
H A Dextern.h186 extern char *chdname;
H A Dpat_rep.c218 pt->chdname = chdnam; in pat_add()