/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | rm.c | 116 error(2, "%s: not found", ent->fts_path); in rm() 136 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); in rm() 149 error(2, "%s: cannot remove", ent->fts_path); in rm() 157 error(2, "%s: directory", ent->fts_path); in rm() 186 … if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) in rm() 200 error(1, "%s: hard link to directory", ent->fts_path); in rm() 214 sfputr(sfstdout, ent->fts_path, '\n'); in rm() 234 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path); 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() [all …]
|
H A D | cp.c | 257 error(2, "%s: directory causes cycle", ent->fts_path); in visit() 288 base = ent->fts_path + state->presiz + 1; in visit() 314 … error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); in visit() 351 error(1, "%s: directory -- copying as plain file", ent->fts_path); 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() 375 error(2, "%s: not a directory -- %s ignored", state->path, ent->fts_path); in visit() 381 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); in visit() 398 error(2, "%s: not found", ent->fts_path); in visit() [all …]
|
H A D | chmod.c | 282 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 D | chgrp.c | 418 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 D | cksum.c | 606 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 D | RELEASE | 25 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 D | fts.c | 186 mem2: free(sp->fts_path); in fts_open() 205 (void) memmove(sp->fts_path, p->fts_name, len + 1); in fts_load() 212 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 243 free(sp->fts_path); in fts_close() 263 (p->fts_path[p->fts_pathlen - 1] == '/' \ 401 name: t = sp->fts_path + NAPPEND(p->fts_parent); in fts_read() 422 sp->fts_path[p->fts_pathlen] = '\0'; in fts_read() 637 cp = sp->fts_path + len; in fts_build() 660 oldaddr = sp->fts_path; in fts_build() 677 if (oldaddr != sp->fts_path) { in fts_build() [all …]
|
/illumos-gate/usr/src/head/ |
H A D | fts.h | 42 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 D | fts.c | 110 #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 D | ftwalk.c | 83 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 D | ftwalk.h | 44 #define fts_path path macro
|
H A D | fts.h | 104 char* fts_path; /* path relative to top dir */ member
|
/illumos-gate/usr/src/lib/libpcsc/common/ |
H A D | libpcsc.c | 394 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 D | ccidadm.c | 145 name = ent->fts_path + strlen(CCID_ROOT); in ccidadm_iter()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandocdb.c | 604 path = ff->fts_path + 2; in treescan()
|