Searched refs:fts_accpath (Results 1 - 12 of 12) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/mtree/
H A Dcompare.c96 if (lchflags(p->fts_accpath, flags)) { \
198 if ((unlink(p->fts_accpath) == -1) ||
199 (mknod(p->fts_accpath,
202 (lchown(p->fts_accpath, p->fts_statp->st_uid,
218 if (lchown(p->fts_accpath, s->st_uid, -1))
232 if (lchown(p->fts_accpath, -1, s->st_gid))
265 if (lchmod(p->fts_accpath, s->st_mode))
325 if (utimes(p->fts_accpath, tv))
373 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) {
376 tab, p->fts_accpath, strerro
[all...]
H A Dcreate.c208 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
210 mtree_err("%s: %s", p->fts_accpath, strerror(errno));
216 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL)
217 mtree_err("%s: MD5File failed: %s", p->fts_accpath, strerror(errno));
224 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL)
225 mtree_err("%s: RMD160File failed: %s", p->fts_accpath, strerror(errno));
232 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL)
233 mtree_err("%s: SHA1File failed: %s", p->fts_accpath, strerror(errno));
240 if ((digestbuf = SHA256_File(p->fts_accpath, NULL)) == NULL)
241 mtree_err("%s: SHA256_File failed: %s", p->fts_accpath, strerro
[all...]
H A Dverify.c148 ? rmdir : unlink)(p->fts_accpath)) {
/netbsd-6-1-5-RELEASE/bin/rm/
H A Drm.c210 if (!fflag && !check(p->fts_path, p->fts_accpath,
223 !check(p->fts_path, p->fts_accpath, p->fts_statp))
236 rval = rmdir(p->fts_accpath);
242 rval = undelete(p->fts_accpath);
249 if (rm_overwrite(p->fts_accpath, NULL))
252 rval = unlink(p->fts_accpath);
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dfts.c153 p->fts_accpath = p->fts_name;
229 * the fts_accpath field specially so the chdir gets done to the right
240 p->fts_accpath = p->fts_path = sp->fts_path;
399 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
403 p->fts_accpath =
404 p->fts_parent->fts_accpath;
583 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
646 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
807 p->fts_accpath = cur->fts_accpath;
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/find/
H A Dfunction.c366 if (strcmp(entry->fts_accpath, ".") == 0 ||
367 strcmp(entry->fts_accpath, "..") == 0)
378 if (strchr(entry->fts_accpath, '/') != NULL)
380 entry->fts_accpath);
386 chflags(entry->fts_accpath,
391 if (rmdir(entry->fts_accpath) < 0 && errno != ENOTEMPTY)
394 if (unlink(entry->fts_accpath) < 0)
454 dir = opendir(entry->fts_accpath);
981 if ((p = strrchr(entry->fts_accpath, '/')) != NULL)
984 p = entry->fts_accpath;
[all...]
/netbsd-6-1-5-RELEASE/include/
H A Dfts.h92 char *fts_accpath; /* access path */ member in struct:_ftsent
/netbsd-6-1-5-RELEASE/bin/chmod/
H A Dchmod.c191 if ((*change_mode)(p->fts_accpath,
/netbsd-6-1-5-RELEASE/usr.bin/chflags/
H A Dchflags.c184 if ((*change_flags)(p->fts_accpath, newflags)) {
/netbsd-6-1-5-RELEASE/sbin/chown/
H A Dchown.c209 if ((*change_owner)(p->fts_accpath, uid, gid) && !fflag) {
/netbsd-6-1-5-RELEASE/usr.sbin/veriexecgen/
H A Dveriexecgen.c222 if (realpath(file->fts_accpath, e->filename) == NULL) {
223 gripe(vp, "Cannot find absolute path `%s'", file->fts_accpath);
/netbsd-6-1-5-RELEASE/bin/ls/
H A Dprint.c446 "%s/%s", p->fts_parent->fts_accpath, p->fts_name);

Completed in 90 milliseconds