Searched refs:fts_accpath (Results 1 – 10 of 10) sorted by relevance
| /mirbsd/src/usr.sbin/mtree/ |
| D | compare.c | 127 if (chown(p->fts_accpath, s->st_uid, -1)) in compare() 141 if (chown(p->fts_accpath, -1, s->st_gid)) in compare() 172 if (chmod(p->fts_accpath, s->st_mode)) in compare() 232 if (utime(p->fts_accpath, &u)) in compare() 235 if (utimes(p->fts_accpath, tv)) in compare() 247 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) { in compare() 250 tab, p->fts_accpath, strerror(errno)); in compare() 256 tab, p->fts_accpath, strerror(errno)); in compare() 271 new_digest = MD5File(p->fts_accpath, buf); in compare() 274 printf("%sMD5File: %s: %s\n", tab, p->fts_accpath, in compare() [all …]
|
| D | create.c | 200 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 || in statf() 202 error("%s: %s", p->fts_accpath, strerror(errno)); in statf() 209 md5digest = MD5File(p->fts_accpath,buf); in statf() 211 error("%s: %s", p->fts_accpath, strerror(errno)); in statf() 218 rmd160digest = RMD160File(p->fts_accpath,buf); in statf() 220 error("%s: %s", p->fts_accpath, strerror(errno)); in statf() 227 sha1digest = SHA1File(p->fts_accpath,buf); in statf() 229 error("%s: %s", p->fts_accpath, strerror(errno)); in statf() 235 name = rlink(p->fts_accpath); in statf()
|
| D | verify.c | 138 ? rmdir : unlink)(p->fts_accpath)) { in vwalk()
|
| /mirbsd/src/lib/libc/gen/ |
| D | fts.c | 150 p->fts_accpath = p->fts_name; in fts_open() 226 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 363 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) { in fts_read() 367 p->fts_accpath = in fts_read() 368 p->fts_parent->fts_accpath; in fts_read() 544 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' || in fts_children() 591 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build() 739 p->fts_accpath = cur->fts_accpath; in fts_build() 746 p->fts_accpath = in fts_build() 752 p->fts_accpath = p->fts_path; in fts_build() [all …]
|
| /mirbsd/src/bin/rm/ |
| D | rm.c | 221 if (!fflag && !check(p->fts_path, p->fts_accpath, in rm_tree() 234 !check(p->fts_path, p->fts_accpath, p->fts_statp)) in rm_tree() 248 TRYRENAME(p->fts_accpath, rmdir, rval); in rm_tree() 250 rval = rmdir(p->fts_accpath); in rm_tree() 257 if (rm_overwrite(p->fts_accpath, NULL)) in rm_tree() 259 TRYRENAME(p->fts_accpath, unlink, rval); in rm_tree() 261 rval = unlink(p->fts_accpath); in rm_tree()
|
| /mirbsd/src/bin/chmod/ |
| D | chmod.c | 253 if (!(hflag?lchflags:chflags)(p->fts_accpath, in main() 259 if (!(hflag?lchflags:chflags)(p->fts_accpath, in main() 265 } else if (ischmod && (hflag ? lchmod : chmod)(p->fts_accpath, in main() 271 (hflag ? lchown : chown)(p->fts_accpath, uid, gid) && in main()
|
| /mirbsd/src/usr.bin/find/ |
| D | function.c | 321 dir = opendir(entry->fts_accpath); in f_empty() 323 err(1, "%s", entry->fts_accpath); in f_empty() 468 if (chdir(entry->fts_accpath)) { in f_execdir() 646 if ((p = strrchr(entry->fts_accpath, '/'))) in f_fstype() 649 p = entry->fts_accpath; in f_fstype() 658 if (statfs(entry->fts_accpath, &sb)) in f_fstype() 659 err(1, "%s", entry->fts_accpath); in f_fstype() 804 printlong(entry->fts_path, entry->fts_accpath, entry->fts_statp); in f_ls()
|
| /mirbsd/src/include/ |
| D | fts.h | 72 char *fts_accpath; /* access path */ member
|
| /mirbsd/src/bin/ls/ |
| D | print.c | 354 "%s/%s", p->fts_parent->fts_accpath, p->fts_name); in printlink()
|
| /mirbsd/src/usr.bin/compress/ |
| D | main.c | 347 p = strrchr(entry->fts_accpath, '.'); in main()
|