Lines Matching refs:pathspec
976 char pathspec[PATH_MAX], pathtmp[4*PATH_MAX + 1]; in read_mtree_spec() local
983 if (strnunvis(pathspec, PATH_MAX, pathtmp) == -1) { in read_mtree_spec()
989 cp = strchr(pathspec, '/'); in read_mtree_spec()
998 if (IS_DOTDOT(pathspec)) { in read_mtree_spec()
1005 if (pathspec[0] != '\0' && !IS_DOT(pathspec)) in read_mtree_spec()
1006 error = read_mtree_spec1(fp, false, pathspec); in read_mtree_spec()
1007 memmove(pathspec, cp, strlen(cp) + 1); in read_mtree_spec()
1008 cp = strchr(pathspec, '/'); in read_mtree_spec()
1012 if (!error && (IS_DOT(pathspec) || IS_DOTDOT(pathspec))) { in read_mtree_spec()
1020 if (!error && pathspec[0] != '\0') in read_mtree_spec()
1021 error = read_mtree_spec1(fp, true, pathspec); in read_mtree_spec()