/osnet-11/usr/src/lib/libcmd/common/ |
H A D | rm.c | 115 error(2, "%s: not found", ent->fts_path); 135 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); 148 error(2, "%s: cannot remove", ent->fts_path); 156 error(2, "%s: directory", ent->fts_path); 185 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) 199 error(1, "%s: hard link to directory", ent->fts_path); 213 sfputr(sfstdout, ent->fts_path, '\n'); 233 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path); 240 error(2, "%s: cannot remove", ent->fts_path); 248 error(2, "%s: directory not removed", ent->fts_path); [all...] |
H A D | chmod.c | 282 sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); 285 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); 289 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); 293 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); 297 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); 301 error(ERROR_system(0), "%s: not found", ent->fts_path);
|
H A D | cp.c | 257 error(2, "%s: directory causes cycle", ent->fts_path); 288 base = ent->fts_path + state->presiz + 1; 314 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); 351 error(1, "%s: directory -- copying as plain file", ent->fts_path); 354 error(2, "%s: cannot link directory", ent->fts_path); 361 error(2, "%s: cannot read directory", ent->fts_path); 364 error(2, "%s: cannot search directory", ent->fts_path); 375 error(2, "%s: not a directory -- %s ignored", state->path, ent->fts_path); 381 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path); 398 error(2, "%s: not found", ent->fts_path); [all...] |
H A D | chgrp.c | 446 error(ERROR_warn(0), "%s: uid and gid not mapped", ent->fts_path); 448 error(ERROR_warn(0), "%s: uid not mapped", ent->fts_path); 450 error(ERROR_warn(0), "%s: gid not mapped", ent->fts_path); 471 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); 474 error(ERROR_system(0), "%s: cannot change%s", ent->fts_path, s); 479 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); 483 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); 487 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); 491 error(ERROR_system(0), "%s: not found", ent->fts_path);
|
H A D | cksum.c | 606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check); 611 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); 614 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); 617 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); 620 error(ERROR_system(0), "%s: not found", ent->fts_path);
|
H A D | grep.c | 883 execute(&state, f, ent->fts_path); 893 error(ERROR_SYSTEM|2, "%s: cannot open", ent->fts_path); 896 error(ERROR_WARNING|1, "%s: directory causes cycle", ent->fts_path); 899 error(ERROR_SYSTEM|2, "%s: cannot read directory", ent->fts_path); 902 error(ERROR_SYSTEM|2, "%s: cannot search directory", ent->fts_path);
|
H A D | find.c | 109 #define PATH(f) ((f)->fts_path) 627 value->s = ent->fts_path; 632 s = ent->fts_path; 660 quotex(state->tmp, ent->fts_path, -1); 670 s = ent->fts_path; 696 if (s = strrchr(ent->fts_path, '/')) 698 value->s = ent->fts_path; 699 dp->size = s - ent->fts_path; 1365 error(2, "%s: not found", ent->fts_path); 1369 error(2, "%s: directory causes cycle", ent->fts_path); [all...] |
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | ftwalk.h | 53 #define fts_path path macro
|
H A D | fts.h | 113 char* fts_path; /* path relative to top dir */ member in struct:Ftsent 136 size_t fts_pathlen; /* strlen(fts_path) */
|
/osnet-11/usr/src/lib/libast/common/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 in struct:Ftsent 127 size_t fts_pathlen; /* strlen(fts_path) */
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | ftwalk.h | 53 #define fts_path path macro
|
H A D | fts.h | 113 char* fts_path; /* path relative to top dir */ member in struct:Ftsent 136 size_t fts_pathlen; /* strlen(fts_path) */
|
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | ftwalk.h | 53 #define fts_path path macro
|
H A D | fts.h | 113 char* fts_path; /* path relative to top dir */ member in struct:Ftsent 136 size_t fts_pathlen; /* strlen(fts_path) */
|
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | ftwalk.h | 53 #define fts_path path macro
|
H A D | fts.h | 113 char* fts_path; /* path relative to top dir */ member in struct:Ftsent 136 size_t fts_pathlen; /* strlen(fts_path) */
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 110 #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->name, ".", 2); 948 f->fts_path = PATH(fts, fts->path, f->fts_level); 949 f->fts_pathlen = (fts->base - f->fts_path) + fts->baselen; 1092 f->fts_path = PATH(fts, fts->path, 1); 1093 f->fts_pathlen = fts->endbase - f->fts_path + f->fts_namelen; 1139 f->fts_path = PATH(fts, fts->path, f->fts_level); 1140 f->fts_pathlen = (fts->base - f->fts_path) + f->fts_namelen; 1206 f->fts_path = PATH(fts, fts->path, f->fts_level); 1207 f->fts_pathlen = (fts->base - f->fts_path) [all...] |
H A D | ftwalk.c | 83 e->fts_accpath = e->fts_name = e->fts_path = strcpy((char*)(e + 1), path);
|