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

@ -548,6 +548,7 @@ static void windows_finddata2dirent(const WIN32_FIND_DATAW* info, struct windows
exit(EXIT_FAILURE);
}
dirent->d_ino = 0;
memcpy(dirent->d_name, name, len + 1);
/* Store the HIDDEN attribute in a separate field */