From e4d53612e13dc9aae6ac549059f3ffc98c866f34 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Jun 2009 20:13:46 +0000 Subject: *** empty log message *** --- eio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eio.c b/eio.c index f4728a7..41561d3 100644 --- a/eio.c +++ b/eio.c @@ -1063,6 +1063,8 @@ eio__scandir (eio_req *req, etp_worker *self) eio_dirent *ent = dents + dentoffs; eio_dirent *dir = dents; + /* now move dirs to the front, and non-dirs to the back */ + /* by walkign from both sides and swapping if necessary */ while (ent > dir) { if (dir->type == DT_DIR) -- cgit v1.2.3