Searched refs:fts_statp (Results 1 - 10 of 10) sorted by relevance
/ast/src/lib/libcmd/ |
H A D | rm.c | 77 #define beenhere(f) (((f)->fts_number>>1)==(f)->fts_statp->st_nlink) 81 #define retry(f) ((f)->fts_number=((f)->fts_statp->st_nlink<<1)) 118 else if (state->fs3d && iview(ent->fts_statp)) 128 if (!chmod(ent->fts_name, (ent->fts_statp->st_mode & S_IPERM)|S_IRWXU)) 162 if (state->unconditional && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) 163 chmod(path, (ent->fts_statp->st_mode & S_IPERM)|S_IRWXU); 178 v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); 274 ent->fts_statp->st_uid != state->uid ? "``not owner''" : 275 fmtmode(ent->fts_statp [all...] |
H A D | cp.c | 327 if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) 337 if ((ent->fts_statp->st_mode & S_IPERM) != (st.st_mode & S_IPERM) && chmod(state->path, ent->fts_statp->st_mode & S_IPERM)) 340 preserve(state, state->path, &st, ent->fts_statp); 379 else if (mkdir(state->path, (ent->fts_statp->st_mode & S_IPERM)|(ent->fts_info == FTS_D ? S_IRWXU : 0))) 416 else if (state->update && !S_ISDIR(st.st_mode) && (unsigned long)ent->fts_statp->st_mtime < (unsigned long)st.st_mtime) 427 if (state->op != LN && st.st_dev == ent->fts_statp->st_dev && st.st_ino == ent->fts_statp->st_ino) 567 if (errno != EXDEV && (rm || S_ISDIR(ent->fts_statp->st_mode))) 577 if (S_ISLNK(ent->fts_statp [all...] |
H A D | chgrp.c | 423 if ((unsigned long)ent->fts_statp->st_ctime >= before) 429 keys[0].uid = keys[1].uid = ent->fts_statp->st_uid; 430 keys[0].gid = keys[2].gid = ent->fts_statp->st_gid; 452 uid = ent->fts_statp->st_uid; 454 gid = ent->fts_statp->st_gid; 465 if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) 471 ent->fts_statp->st_uid = 0; 472 ent->fts_statp->st_gid = 0; 474 sfprintf(sfstdout, "%s uid:%05d->%05d gid:%05d->%05d %s\n", op, ent->fts_statp [all...] |
H A D | chmod.c | 295 mode = strperm(amode, &last, ent->fts_statp->st_mode); 298 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
|
H A D | cksum.c | 606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check);
|
/ast/src/lib/libast/misc/ |
H A D | fts.c | 214 f->fts_statp = &f->statb; 496 return (verify && (stat(".", &sb) < 0 || !SAME(&sb, f->fts_statp))) ? -1 : 0; 654 info(fts, f, path, f->fts_statp, fts->flags); 666 *f->fts_statp = st; 667 info(fts, f, NiL, f->fts_statp, 0); 789 fts->parent->fts_statp = &fts->parent->statb; 893 fts->parent->fts_statp = f->fts_statp; 894 fts->parent->statb = *f->fts_statp; 1073 f->fts_statp [all...] |
H A D | ftwalk.c | 99 x->statb = *x->fts_statp; 128 x->statb = *x->fts_statp;
|
/ast/src/cmd/std/ |
H A D | du.c | 252 hit.id.dev = ent->fts_statp->st_dev; 253 hit.id.ino = ent->fts_statp->st_ino; 302 if (ent->fts_statp->st_nlink > 1 || dirs && !ent->fts_level) 308 b = iblocks(ent->fts_statp);
|
/ast/src/lib/libast/include/ |
H A D | fts.h | 108 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
/ast/src/cmd/mailx/ |
H A D | fio.c | 389 mp->m_size = ent->fts_statp->st_size;
|
Completed in 24 milliseconds