Home
last modified time | relevance | path

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

12

/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Drm.c116 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 Dcp.c257 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 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.c412 error(ERROR_system(0), "%s: cannot change symlink owner/group", ent->fts_path); in b_chgrp()
459 error(ERROR_warn(0), "%s: uid and gid not mapped", ent->fts_path); in b_chgrp()
461 error(ERROR_warn(0), "%s: uid not mapped", ent->fts_path); in b_chgrp()
463 error(ERROR_warn(0), "%s: gid not mapped", ent->fts_path); in b_chgrp()
474 sfprintf(sfstdout, "%s uid:%05d->%05d gid:%05d->%05d %s\n", op, ent->fts_statp->st_uid, uid, ent->fts_statp->st_gid, gid, ent->fts_path); in b_chgrp()
477 error(ERROR_system(0), "%s: cannot change%s", ent->fts_path, s); in b_chgrp()
482 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chgrp()
486 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chgrp()
490 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chgrp()
494 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chgrp()
[all...]
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()
/titanic_51/usr/src/lib/libcmd/common/
H A Drm.c115 error(2, "%s: not found", ent->fts_path); in rm()
133 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); in rm()
146 error(2, "%s: cannot remove", ent->fts_path); in rm()
154 error(2, "%s: directory", ent->fts_path); in rm()
183 … if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) in rm()
197 error(1, "%s: hard link to directory", ent->fts_path); in rm()
211 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
231 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path); in rm()
238 error(2, "%s: cannot remove", ent->fts_path); in rm()
246 error(2, "%s: directory not removed", ent->fts_path); in rm()
[all …]
H A Dcp.c239 error(2, "%s: directory causes cycle", ent->fts_path); in visit()
270 base = ent->fts_path + state->presiz + 1; in visit()
296 … error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); in visit()
333 error(1, "%s: directory -- copying as plain file", ent->fts_path); in visit()
336 error(2, "%s: cannot link directory", ent->fts_path); in visit()
343 error(2, "%s: cannot read directory", ent->fts_path); in visit()
346 error(2, "%s: cannot search directory", ent->fts_path); in visit()
357 error(2, "%s: not a directory -- %s ignored", state->path, ent->fts_path); in visit()
363 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); in visit()
380 error(2, "%s: not found", ent->fts_path); in visit()
[all …]
H A Dchgrp.c427 error(ERROR_warn(0), "%s: uid and gid not mapped", ent->fts_path); in b_chgrp()
429 error(ERROR_warn(0), "%s: uid not mapped", ent->fts_path); in b_chgrp()
431 error(ERROR_warn(0), "%s: gid not mapped", ent->fts_path); in b_chgrp()
452 …gid:%05d->%05d %s\n", op, ent->fts_statp->st_uid, uid, ent->fts_statp->st_gid, gid, ent->fts_path); in b_chgrp()
H A Dchmod.c282 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
/titanic_51/usr/src/lib/libast/common/misc/
H A Dfts.c110 #define ACCESS(p,f) ((p)->cd==0?(f)->fts_name:(f)->fts_path)
771 …memcpy(fts->parent->fts_accpath = fts->parent->fts_path = fts->parent->fts_name = fts->parent->nam… in fts_open()
944 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
945 f->fts_pathlen = (fts->base - f->fts_path) + fts->baselen; in fts_read()
1088 f->fts_path = PATH(fts, fts->path, 1); in fts_read()
1089 f->fts_pathlen = fts->endbase - f->fts_path + f->fts_namelen; in fts_read()
1135 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
1136 f->fts_pathlen = (fts->base - f->fts_path) + f->fts_namelen; in fts_read()
1202 f->fts_path = PATH(fts, fts->path, f->fts_level); in fts_read()
1203 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()
/titanic_51/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->name, ".", 2); 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) in fts_read()
[all...]
H A Dftwalk.c83 e->fts_accpath = e->fts_name = e->fts_path = strcpy((char*)(e + 1), path); in ftwalk()
/titanic_51/usr/src/lib/libast/common/include/
H A Dftwalk.h44 #define fts_path path macro
H A Dfts.h104 char* fts_path; /* path relative to top dir */ member
/titanic_51/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
127 size_t fts_pathlen; /* strlen(fts_path) */
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dftwalk.h53 #define fts_path path macro
H A Dfts.h113 char* fts_path; /* path relative to top dir */ member
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dftwalk.h53 #define fts_path path macro
H A Dfts.h113 char* fts_path; /* path relative to top dir */ member
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dftwalk.h53 #define fts_path path macro
H A Dfts.h113 char* fts_path; /* path relative to top dir */ member
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dftwalk.h53 #define fts_path path macro
H A Dfts.h113 char* fts_path; /* path relative to top dir */ member

12