Sorts files by inode before calling stat().

This commit is contained in:
Andrea Mazzoleni 2013-10-02 23:05:22 +02:00
parent ec172efb5c
commit 8ea5ed3230
8 changed files with 171 additions and 28 deletions

View file

@ -71,7 +71,7 @@
#define futimens windows_futimens
#define O_NOFOLLOW 0
#define dirent_hidden windows_dirent_hidden
#define HAVE_DIRENT_LSTAT 1
#define HAVE_STRUCT_DIRENT_D_STAT 1
#define dirent_lstat windows_dirent_lstat
#define stat_desc windows_stat_desc
#undef sleep
@ -226,6 +226,7 @@ int windows_open(const char* file, int flags, ...);
struct windows_dirent {
char d_name[PATH_MAX];
int d_hidden;
uint64_t d_ino; /**< Not significative. Always 0. */
WIN32_FIND_DATAW d_data;
};