From 5fada89f0fcdcacfb7db5d25713b77782b7a485f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Jun 2009 19:57:22 +0000 Subject: *** empty log message *** --- eio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eio.c') diff --git a/eio.c b/eio.c index bc73493..f4728a7 100644 --- a/eio.c +++ b/eio.c @@ -1201,7 +1201,7 @@ eio__scandir (eio_req *req, etp_worker *self) if (*name == '.') /* leading dots are likely directories, and, in any case, rare */ ent->score = 98; else if (!strchr (name, '.')) /* absense of dots indicate likely dirs */ - ent->score = len <= 2 ? len + 60 : len <= 4 ? 50 : len <= 7 ? 40 : 10; /* shorter == more likely dir, but avoid too many classes */ + ent->score = len <= 2 ? len + 6 : len <= 4 ? 5 : len <= 7 ? 4 : 1; /* shorter == more likely dir, but avoid too many classes */ } else if (ent->type == EIO_DT_DIR) ent->score = 100; -- cgit v1.2.3