diff options
| author | root <root> | 2009-06-06 20:13:46 +0000 | 
|---|---|---|
| committer | root <root> | 2009-06-06 20:13:46 +0000 | 
| commit | e4d53612e13dc9aae6ac549059f3ffc98c866f34 (patch) | |
| tree | 2292085420008ea6cb6fec4894a8e8b8693ebf01 | |
| parent | 5fada89f0fcdcacfb7db5d25713b77782b7a485f (diff) | |
*** empty log message ***rel-3_2
| -rw-r--r-- | eio.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| @@ -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) | 
