Lines Matching defs:ent
167 register FTSENT*ent;
268 while (!sh_checksig(context) && (ent = fts_read(fts)))
269 switch (ent->fts_info)
282 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path);
295 mode = strperm(amode, &last, ent->fts_statp->st_mode);
296 if (show || (*chmodf)(ent->fts_accpath, mode) >= 0)
298 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
299 sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1);
302 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path);
306 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path);
310 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path);
314 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path);
318 error(ERROR_system(0), "%s: not found", ent->fts_path);