[PATCH] eio.c: fix a typo: "absense" -> "absence"
Jonathan Neuschäfer
j.neuschaefer at gmx.net
Sat Dec 10 13:14:34 CET 2011
---
eio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/eio.c b/eio.c
index ec7ac54..380e44c 100644
--- a/eio.c
+++ b/eio.c
@@ -1968,7 +1968,7 @@ eio__scandir (eio_req *req, etp_worker *self)
{
if (*name == '.') /* leading dots are likely directories, and, in any case, rare */
ent->score = 1;
- else if (!strchr (name, '.')) /* absense of dots indicate likely dirs */
+ else if (!strchr (name, '.')) /* absence of dots indicate likely dirs */
ent->score = len <= 2 ? 4 - len : len <= 4 ? 4 : len <= 7 ? 5 : 6; /* shorter == more likely dir, but avoid too many classes */
}
else if (ent->type == EIO_DT_DIR)
--
1.7.7.3
More information about the libev
mailing list