Home
last modified time | relevance | path

Searched refs:fts_path (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drm.c116 error(2, "%s: not found", ent->fts_path); in rm()
149 error(2, "%s: cannot remove", ent->fts_path); in rm()
157 error(2, "%s: directory", ent->fts_path); in rm()
200 error(1, "%s: hard link to directory", ent->fts_path); in rm()
214 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
241 error(2, "%s: cannot remove", ent->fts_path); in rm()
249 error(2, "%s: directory not removed", ent->fts_path); in rm()
257 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
288 error(ERROR_SYSTEM|2, "%s: cannot clear data", ent->fts_path); in rm()
297 error(ERROR_SYSTEM|2, "%s: data clear error", ent->fts_path); in rm()
[all …]
H A Dcp.c257 error(2, "%s: directory causes cycle", ent->fts_path); in visit()
288 base = ent->fts_path + state->presiz + 1; in visit()
354 error(2, "%s: cannot link directory", ent->fts_path); in visit()
361 error(2, "%s: cannot read directory", ent->fts_path); in visit()
364 error(2, "%s: cannot search directory", ent->fts_path); in visit()
398 error(2, "%s: not found", ent->fts_path); in visit()
558 if (!rename(ent->fts_path, state->path)) in visit()
595 error(ERROR_SYSTEM|2, "%s: cannot read", ent->fts_path); in visit()
666 if (state->op == MV && remove(ent->fts_path)) in visit()
667 error(ERROR_SYSTEM|1, "%s: cannot remove", ent->fts_path); in visit()
[all …]
H A Dchmod.c282 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path); in b_chmod()
299 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
302 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); in b_chmod()
306 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chmod()
310 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chmod()
314 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chmod()
318 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chmod()
H A Dchgrp.c418 error(ERROR_system(0), "%s: cannot change symlink owner/group", ent->fts_path); in b_chgrp()
465 error(ERROR_warn(0), "%s: uid and gid not mapped", ent->fts_path); in b_chgrp()
467 error(ERROR_warn(0), "%s: uid not mapped", ent->fts_path); in b_chgrp()
469 error(ERROR_warn(0), "%s: gid not mapped", ent->fts_path); in b_chgrp()
480 …gid:%05d->%05d %s\n", op, ent->fts_statp->st_uid, uid, ent->fts_statp->st_gid, gid, ent->fts_path); in b_chgrp()
483 error(ERROR_system(0), "%s: cannot change%s", ent->fts_path, s); in b_chgrp()
488 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chgrp()
492 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chgrp()
496 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chgrp()
500 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chgrp()
H A Dcksum.c606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check); in b_cksum()
611 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_cksum()
614 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_cksum()
617 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_cksum()
620 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_cksum()
H A DRELEASE25 10-07-28 chgrp.c,chmod.c,cksum.c: fts_path for diagnostics, not fts_accpath!
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dfts.c186 mem2: free(sp->fts_path); in fts_open()
212 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
243 free(sp->fts_path); in fts_close()
637 cp = sp->fts_path + len; in fts_build()
660 oldaddr = sp->fts_path; in fts_build()
920 p->fts_path = sp->fts_path; in fts_alloc()
958 free(sp->fts_path); in fts_palloc()
959 sp->fts_path = NULL; in fts_palloc()
966 free(sp->fts_path); in fts_palloc()
967 sp->fts_path = NULL; in fts_palloc()
[all …]
/illumos-gate/usr/src/head/
H A Dfts.h42 char *fts_path; /* path for this descent */ member
69 char *fts_path; /* root path */ member
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfts.c110 #define ACCESS(p,f) ((p)->cd==0?(f)->fts_name:(f)->fts_path)
784 …memcpy(fts->parent->fts_accpath = fts->parent->fts_path = fts->parent->fts_name = fts->parent->nam… in fts_open()
961 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
962 f->fts_pathlen = (fts->base - f->fts_path) + fts->baselen; in fts_read()
1105 f->fts_path = PATH(fts, fts->path, 1); in fts_read()
1106 f->fts_pathlen = fts->endbase - f->fts_path + f->fts_namelen; in fts_read()
1152 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
1153 f->fts_pathlen = (fts->base - f->fts_path) + f->fts_namelen; in fts_read()
1219 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
1220 f->fts_pathlen = (fts->base - f->fts_path) + f->fts_namelen; in fts_read()
[all …]
H A Dftwalk.c83 e->fts_accpath = e->fts_name = e->fts_path = strcpy((char*)(e + 1), path); in ftwalk()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dftwalk.h44 #define fts_path path macro
H A Dfts.h104 char* fts_path; /* path relative to top dir */ member
/illumos-gate/usr/src/lib/libpcsc/common/
H A Dlibpcsc.c394 plen = strlen(ent->fts_path) + 1; in SCardListReaders()
415 readers[npaths] = strdup(ent->fts_path); in SCardListReaders()
/illumos-gate/usr/src/cmd/ccidadm/
H A Dccidadm.c143 name = ent->fts_path + strlen(CCID_ROOT); in ccidadm_iter()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandocdb.c604 path = ff->fts_path + 2; in treescan()