Searched refs:fts_path (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-current/bin/setfacl/
H A Dsetfacl.c191 warnx("%s: %s", file->fts_path, strerror(file->fts_errno));
199 file->fts_path);
213 file->fts_path);
222 file->fts_path);
231 warn("%s: acl_get_file() failed", file->fts_path);
233 warn("%s: acl_get_link_np() failed", file->fts_path);
246 file->fts_path);
252 local_error += merge_acl(nacl, &acl, file->fts_path);
264 file->fts_path);
267 remove_ext(&acl, file->fts_path);
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Ddev.sh100 if (strstr(p->fts_path, "ttyu") != NULL)
102 if (strstr(p->fts_path, "fcdm") != NULL)
104 if ((fd = open(p->fts_path, O_RDONLY|O_NONBLOCK)) == -1)
H A Dpty.sh95 if ((fd = open(p->fts_path, O_RDWR)) == -1)
96 if ((fd = open(p->fts_path, O_WRONLY)) == -1)
97 if ((fd = open(p->fts_path, O_RDONLY)) == -1)
H A Dprocfs3.sh109 warnx("%s: %s. fts_info = %d", p->fts_path, strerror(p->fts_errno),
117 if ((fd = open(p->fts_path, O_RDONLY)) == -1)
/freebsd-current/contrib/mandoc/
H A Dcompat_fts.c157 mem2: free(sp->fts_path);
176 memmove(sp->fts_path, p->fts_name, len + 1);
182 p->fts_accpath = p->fts_path = sp->fts_path;
209 free(sp->fts_path);
220 (p->fts_path[p->fts_pathlen - 1] == '/' \
292 name: t = sp->fts_path + NAPPEND(p->fts_parent);
313 sp->fts_path[p->fts_pathlen] = '\0';
387 cp = sp->fts_path + len;
415 oldaddr = sp->fts_path;
[all...]
H A Dcompat_fts.h43 char *fts_path; /* path for this descent */ member in struct:__anon2
63 char *fts_path; /* root path */ member in struct:_ftsent
65 size_t fts_pathlen; /* strlen(fts_path) */
/freebsd-current/bin/rm/
H A Drm.c201 p->fts_path, strerror(p->fts_errno));
206 errx(1, "%s: %s", p->fts_path, strerror(p->fts_errno));
216 p->fts_path, strerror(p->fts_errno));
222 if (!fflag && !check(p->fts_path, p->fts_accpath,
241 !check(p->fts_path, p->fts_accpath, p->fts_statp))
264 p->fts_path);
268 p->fts_path);
279 p->fts_path);
283 p->fts_path);
305 p->fts_path);
[all...]
/freebsd-current/contrib/mtree/
H A Dmtree.h147 ((p)->fts_path[0] == '.' && (p)->fts_path[1] == '/' ? \
148 (p)->fts_path + 2 : (p)->fts_path)
/freebsd-current/bin/pax/
H A Dftree.c396 set_ftime(ftent->fts_path, mtime, atime, 1);
402 paxwarn(1,"File system cycle found at %s",ftent->fts_path);
406 "Unable to read directory %s", ftent->fts_path);
415 "Unable to access %s", ftent->fts_path);
444 add_atdir(ftent->fts_path, arcn->sb.st_dev,
469 if ((cnt = readlink(ftent->fts_path, arcn->ln_name,
472 ftent->fts_path);
500 arcn->nlen = l_strncpy(arcn->name, ftent->fts_path, sizeof(arcn->name) - 1);
502 arcn->org_name = ftent->fts_path;
/freebsd-current/tools/test/stress2/testcases/fts/
H A Dfts.c71 (void) printf("%s\n", p->fts_path);
90 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
/freebsd-current/lib/libc/gen/
H A Dfts-compat.h40 char *fts_path; /* path for this descent */ member in struct:__anon92
78 char *fts_path; /* root path */ member in struct:_ftsent
81 u_short fts_pathlen; /* strlen(fts_path) */
H A Dfts-compat11.h38 char *fts_path; /* path for this descent */ member in struct:__anon95
56 char *fts_path; /* root path */ member in struct:_ftsent11
59 __size_t fts_pathlen; /* strlen(fts_path) */
H A Dfts-compat.c223 mem2: free(sp->fts_path);
242 memmove(sp->fts_path, p->fts_name, len + 1);
248 p->fts_accpath = p->fts_path = sp->fts_path;
277 free(sp->fts_path);
303 (p->fts_path[p->fts_pathlen - 1] == '/' \
442 name: t = sp->fts_path + NAPPEND(p->fts_parent);
463 sp->fts_path[p->fts_pathlen] = '\0';
736 cp = sp->fts_path + len;
759 oldaddr = sp->fts_path;
[all...]
H A Dfts.c211 mem2: free(sp->fts_path);
230 memmove(sp->fts_path, p->fts_name, len + 1);
236 p->fts_accpath = p->fts_path = sp->fts_path;
265 free(sp->fts_path);
291 (p->fts_path[p->fts_pathlen - 1] == '/' \
433 name: t = sp->fts_path + NAPPEND(p->fts_parent);
454 sp->fts_path[p->fts_pathlen] = '\0';
733 cp = sp->fts_path + len;
756 oldaddr = sp->fts_path;
[all...]
H A Dfts-compat11.c213 mem2: free(sp->fts_path);
232 memmove(sp->fts_path, p->fts_name, len + 1);
238 p->fts_accpath = p->fts_path = sp->fts_path;
267 free(sp->fts_path);
293 (p->fts_path[p->fts_pathlen - 1] == '/' \
435 name: t = sp->fts_path + NAPPEND(p->fts_parent);
456 sp->fts_path[p->fts_pathlen] = '\0';
735 cp = sp->fts_path + len;
758 oldaddr = sp->fts_path;
[all...]
H A Dftw-compat11.c85 error = fn(cur->fts_path, cur->fts_statp, fnflag);
H A Dftw.c77 error = fn(cur->fts_path, cur->fts_statp, fnflag);
H A Dnftw.c95 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
/freebsd-current/bin/chmod/
H A Dchmod.c169 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
176 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
193 warn("%s", p->fts_path);
196 (void)printf("%s", p->fts_path);
244 warn("%s", ent->fts_path);
/freebsd-current/usr.bin/find/
H A Dfind.c181 err(1, "%s", entry->fts_path);
202 entry->fts_path, strerror(entry->fts_errno));
214 fprintf(stderr, "Scanning: %s/%s\n", entry->fts_path, entry->fts_name);
221 if (isxargs && strpbrk(entry->fts_path, BADCH)) {
223 warnx("%s: illegal path", entry->fts_path);
/freebsd-current/bin/chflags/
H A Dchflags.c167 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
172 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
188 warnc(e, "%s", p->fts_path);
192 (void)printf("%s: %s\n", p->fts_path,
197 (void)printf("%s", p->fts_path);
/freebsd-current/bin/cp/
H A Dcp.c290 warnc(curr->fts_errno, "%s", curr->fts_path);
294 warnx("%s: directory causes a cycle", curr->fts_path);
338 p = strrchr(curr->fts_path, '/');
340 (int)(p - curr->fts_path + 1);
342 if (!strcmp(&curr->fts_path[base],
349 p = &curr->fts_path[base];
442 to.p_path, curr->fts_path);
474 curr->fts_path);
536 curr->fts_path);
553 (void)printf("%s -> %s\n", curr->fts_path, t
[all...]
H A Dutils.c112 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) < 0 ||
114 warn("%s", entp->fts_path);
128 warnx("%s: File changed", entp->fts_path);
171 if (link(entp->fts_path, to.p_path) != 0) {
179 if (symlink(entp->fts_path, to.p_path) != 0) {
218 entp->fts_path, to.p_path,
223 warn("%s", entp->fts_path);
259 if ((len = readlink(p->fts_path, llink, sizeof(llink) - 1)) == -1) {
260 warn("readlink: %s", p->fts_path);
/freebsd-current/include/
H A Dfts.h42 char *fts_path; /* path for this descent */ member in struct:__anon48
73 char *fts_path; /* root path */ member in struct:_ftsent
76 __size_t fts_pathlen; /* strlen(fts_path) */
/freebsd-current/usr.sbin/chown/
H A Dchown.c181 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
186 warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
201 chownerr(p->fts_path);
297 printf("%s", p->fts_path);

Completed in 127 milliseconds

123