Lines Matching defs:path
234 * in the base directory, but may be a path passing through
246 add_file_arg(struct base *bp, char *path)
257 if (strcmp(path, "..") == 0 || prefix(path, "../") ||
258 suffix(path, "/..") || contains(path, "/../")) {
259 fprintf(stderr, gettext(WARN_ignore), path);
271 for (s = path; *s; s++);
272 while (s > path) {
277 if (s[-1] == '.' && s > &path[1] && s[-2] == '/') {
287 for (p = path; p < s; ) {
303 fprintf(stderr, gettext(WARN_ignore), path);
313 path = p;
320 if (check_restr(bp, path) == 0)
323 while (*path) {
325 for (i = 0; path[i] && path[i] != '/'; i++)
326 name[i] = path[i];
334 if (path[i] == '/') {
336 path += i+1;
339 path += i;
438 * sparse directories are on the path between a base and
497 { const char *path;
505 path = &name[ftwx->base];
542 level, path);
545 if (ignore_check(path))
548 fp = add_file_to_dir(dirstack[level-1], path);
576 if (restr == FALSE || ignore_check(path)) {
582 add_file_to_dir(dirstack[level-1], path);
636 add_file_to_dir(dirstack[level-1], path);
811 * where an old path no longer worked. This could result in