Searched refs:fts_info (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libcmd/
H A Drm.c113 if (ent->fts_info == FTS_NS || ent->fts_info == FTS_ERR || ent->fts_info == FTS_SLNONE)
120 else switch (ent->fts_info)
136 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
194 if (ent->fts_info == FTS_D)
199 ent->fts_info = FTS_DC;
203 else if (ent->fts_info == FTS_D)
215 if ((ent->fts_info == FTS_DC || state->directory) ? remove(path) : rmdir(path))
224 if (ent->fts_info
[all...]
H A Dchmod.c269 switch (ent->fts_info)
H A Dcp.c255 if (ent->fts_info == FTS_DC)
324 switch (ent->fts_info)
358 else switch (ent->fts_info)
379 else if (mkdir(state->path, (ent->fts_statp->st_mode & S_IPERM)|(ent->fts_info == FTS_D ? S_IRWXU : 0)))
450 rm = state->remove || ent->fts_info == FTS_SL;
654 if (ent->fts_info != FTS_SL)
H A Dchgrp.c398 switch (ent->fts_info)
H A Dcksum.c597 switch (ent->fts_info)
/ast/src/lib/libast/misc/
H A Dfts.c500 * initialize st from path and fts_info from st
545 f->fts_info = FTS_D;
556 f->fts_info = FTS_SL;
567 f->fts_info = FTS_SLNONE;
574 f->fts_info = FTS_F;
579 f->fts_info = FTS_NS;
651 f->fts_info = FTS_NS;
662 if (metaphysical && f->fts_info == FTS_SL)
670 f->fts_info = FTS_SLNONE;
783 fts->parent->fts_info
[all...]
H A Dftwalk.c85 e->fts_info = FTS_NS;
/ast/src/lib/libast/include/
H A Dftwalk.h38 #define fts_info info macro
H A Dfts.h62 * fts_info flags
116 unsigned short fts_info; /* info flags */ member in struct:Ftsent
/ast/src/cmd/std/
H A Ddu.c226 if (ent->fts_info != FTS_DP)
262 switch (ent->fts_info)
/ast/src/cmd/html/
H A Dhtmlrefs.c468 if (state->external && ent->fts_info == FTS_D)
1181 sfprintf(sfstdout, " %s %s\n", (ent->fts_info & FTS_D) ? "rmdir" : " rm", ent->fts_path);
1182 if (state->exec && ((ent->fts_info & FTS_D) ? rmdir : remove)(ent->fts_path))
1217 sfprintf(sfstdout, " %s %s\n", (ent->fts_info & FTS_D) ? "rmdir" : " rm", ent->fts_path);
1218 if (state->exec && ((ent->fts_info & FTS_D) ? rmdir : remove)(ent->fts_path))
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c912 switch (ent->fts_info)
/ast/src/cmd/mailx/
H A Dfio.c382 if ((ent->fts_info & FTS_F) && (fp = fileopen(ent->fts_accpath, "Er"))) {
/ast/src/cmd/re/
H A Dgrep.c868 switch (ent->fts_info)

Completed in 33 milliseconds