/src/bin/setfacl/ |
setfacl.c | 200 warnx("%s: %s", file->fts_path, strerror(file->fts_errno)); 208 file->fts_path); 222 file->fts_path); 231 file->fts_path); 240 warn("%s: acl_get_file() failed", file->fts_path); 242 warn("%s: acl_get_link_np() failed", file->fts_path); 255 file->fts_path); 261 local_error += merge_acl(nacl, &acl, file->fts_path); 273 file->fts_path); 276 remove_ext(&acl, file->fts_path); [all...] |
/src/usr.sbin/mtree/ |
mtree.h | 147 ((p)->fts_path[0] == '.' && (p)->fts_path[1] == '/' ? \ 148 (p)->fts_path + 2 : (p)->fts_path)
|
create.c | 128 if (check_excludes(p->fts_name, p->fts_path)) { 132 if (!find_only(p->fts_path)) { 141 fprintf(fp, "# %s\n", p->fts_path); 149 p->fts_path); 160 p->fts_path, strerror(p->fts_errno)); 193 warn("%s: %s failed", p->fts_path, key); 197 mtree_err("%s: %s failed: %s", p->fts_path, key, strerror(errno));
|
verify.c | 94 if (check_excludes(p->fts_name, p->fts_path)) { 98 if (!find_only(p->fts_path)) {
|
/src/bin/cp/ |
cp.c | 345 warnx("%s: %s", curr->fts_path, 350 warnx("%s: directory causes a cycle", curr->fts_path); 389 p = strrchr(curr->fts_path, '/'); 391 (int)(p - curr->fts_path + 1); 393 if (!strcmp(&curr->fts_path[base], 400 p = &curr->fts_path[base]; 427 to.p_path, curr->fts_path); 436 to.p_path, curr->fts_path); 459 curr->fts_path); 527 curr->fts_path); [all...] |
utils.c | 110 if (link(entp->fts_path, to.p_path)) { 117 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) { 118 warn("%s", entp->fts_path); 189 fi.from = entp->fts_path; 234 warn("%s", entp->fts_path); 253 warn("%s", entp->fts_path); 309 if ((len = readlink(p->fts_path, target, sizeof(target)-1)) == -1) { 310 warn("readlink: %s", p->fts_path);
|
/src/bin/pax/ |
ftree.c | 446 Mftent.fts_path = curpath; 451 if (lstat(Mftent.fts_path, &statbuf) == -1) { 464 ftent->fts_path, m); \ 486 (u_long)ftnode->lineno, ftent->fts_path, 537 set_ftime(ftent->fts_path, 612 set_ftime(ftent->fts_path, mtime, atime, 1, 0); 619 ftent->fts_path); 623 "Unable to read directory %s", ftent->fts_path); 632 "Unable to access %s", ftent->fts_path); 664 add_atdir(ftent->fts_path, arcn->sb.st_dev [all...] |
/src/usr.bin/chflags/ |
chflags.c | 146 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 151 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 190 warn("%s", p->fts_path);
|
/src/include/ |
fts.h | 64 char *fts_path; /* path for this descent */ member in struct:__anon2bb3c1630108 93 char *fts_path; /* root path */ member in struct:_ftsent 96 __fts_length_t fts_pathlen; /* strlen(fts_path) */
|
/src/lib/libc/gen/ |
fts.c | 228 mem2: free(sp->fts_path); 250 memmove(sp->fts_path, p->fts_name, len + 1); 256 p->fts_accpath = p->fts_path = sp->fts_path; 289 free(sp->fts_path); 315 (p->fts_path[p->fts_pathlen - 1] == '/' \ 329 p->fts_path[0] == '/' ? 0 : p->fts_pathlen) 481 name: t = sp->fts_path + NAPPEND(p->fts_parent); 502 sp->fts_path[p->fts_pathlen] = '\0'; 742 cp = sp->fts_path + len [all...] |
ftw.c | 87 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
devname.c | 126 if (strncmp(fe->fts_path, path_dev, len_dev)) 128 if (strlcpy(path, fe->fts_path + len_dev, len) < len) {
|
nftw.c | 105 error = fn(cur->fts_path, cur->fts_statp, fnflag, &f);
|
/src/bin/rm/ |
rm.c | 191 warnx("%s: %s", p->fts_path, 197 errx(EXIT_FAILURE, "%s: %s", p->fts_path, 208 warnx("%s: %s", p->fts_path, 216 if (!fflag && !check(p->fts_path, p->fts_accpath, 229 !check(p->fts_path, p->fts_accpath, p->fts_statp)) 264 warn("%s", p->fts_path); 268 (void)printf("%s\n", p->fts_path);
|
/src/usr.bin/grep/ |
util.c | 144 errx(2, "%s: %s", p->fts_path, strerror(p->fts_errno)); 153 p->fts_path); 159 if ((d = strrchr(p->fts_path, '/')) != NULL) { 161 (d - p->fts_path + 1)); 162 memcpy(dir, p->fts_path, 163 d - p->fts_path); 164 dir[d - p->fts_path] = '\0'; 171 ok &= file_matching(p->fts_path); 174 c += procfile(p->fts_path);
|
/src/usr.bin/find/ |
find.c | 231 g_entry->fts_path, strerror(g_entry->fts_errno)); 237 if (isxargs && strpbrk(g_entry->fts_path, BADCH)) { 240 warnx("%s: illegal path", g_entry->fts_path);
|
misc.c | 160 g_entry->fts_path);
|
function.c | 482 warn("-delete: rmdir(%s)", entry->fts_path); 485 warn("-delete: unlink(%s)", entry->fts_path); 602 l = strlen(entry->fts_path); 605 strcpy(plan->ep_p, entry->fts_path); 619 = strcpy(plan->ep_p, entry->fts_path); 630 entry->fts_path, 844 if ((file = strrchr(entry->fts_path, '/'))) 847 file = entry->fts_path; 1023 if (-1 == fprintf(plan->fprint_file, "%s\n", entry->fts_path)) 1250 printlong(entry->fts_path, entry->fts_accpath, entry->fts_statp) [all...] |
/src/bin/chmod/ |
chmod.c | 194 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 201 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 222 warn("%s", p->fts_path);
|
/src/sbin/chown/ |
chown.c | 203 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 208 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 251 warn("%s", p->fts_path); 255 printf("%s\n", p->fts_path);
|
/src/tests/lib/libc/gen/ |
t_getcwd.c | 124 if (strstr(ftse->fts_path, buf) == NULL) {
|
/src/usr.bin/du/ |
du.c | 226 prstat(p->fts_path, p->fts_number); 233 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); 245 prstat(p->fts_path, COUNT);
|
/src/libexec/makewhatis/ |
makewhatis.c | 262 if (manpagesection(fe->fts_path) >= 0) { 272 s = &fe->fts_path[fe->fts_pathlen - 1]; 286 sdoff = s + 1 - fe->fts_path; 294 fe->fts_path, sdoff, sdlen); 309 fe->fts_path); 312 warnx("Unreadable directory: `%s'", fe->fts_path); 316 warn("Cannot stat `%s'", fe->fts_path); 320 warn("Error reading `%s'", fe->fts_path); 324 " for path: `%s'", fe->fts_info, fe->fts_path);
|
/src/usr.bin/cvslatest/ |
cvslatest.c | 83 snprintf(ename, sizeof(ename), "%s/Repository", e->fts_path); 114 snprintf(ename, sizeof(ename), "%s/Entries", e->fts_path);
|
/src/usr.sbin/dev_mkdb/ |
dev_mkdb.c | 244 p->fts_path + dlen); 247 p->fts_path + dlen);
|