Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/find/find.c
Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | case FTS_NS: | ||||
entry->fts_errno == ENOENT && entry->fts_level > 0) | entry->fts_errno == ENOENT && entry->fts_level > 0) | ||||
continue; | continue; | ||||
/* FALLTHROUGH */ | /* FALLTHROUGH */ | ||||
case FTS_ERR: | case FTS_ERR: | ||||
(void)fflush(stdout); | (void)fflush(stdout); | ||||
warnx("%s: %s", | warnx("%s: %s", | ||||
entry->fts_path, strerror(entry->fts_errno)); | entry->fts_path, strerror(entry->fts_errno)); | ||||
exitstatus = 1; | exitstatus = 1; | ||||
if (entry->fts_info == FTS_DNR && isdepth) { | |||||
break; | |||||
} | |||||
continue; | continue; | ||||
#if defined(FTS_W) && defined(FTS_WHITEOUT) | #if defined(FTS_W) && defined(FTS_WHITEOUT) | ||||
case FTS_W: | case FTS_W: | ||||
if (ftsoptions & FTS_WHITEOUT) | if (ftsoptions & FTS_WHITEOUT) | ||||
break; | break; | ||||
continue; | continue; | ||||
#endif /* FTS_W */ | #endif /* FTS_W */ | ||||
} | } | ||||
Show All 24 Lines |