mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
Fixes the Windows regression test.
This commit is contained in:
parent
71ff0620ce
commit
ea4eafb60d
2 changed files with 5 additions and 4 deletions
|
|
@ -1031,13 +1031,14 @@ static int scan_dir(struct snapraid_scan* scan, int output, const char* dir, con
|
|||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
#if HAVE_STRUCT_DIRENT_D_INO
|
||||
if (state->opt.force_order == SORT_ALPHA) {
|
||||
/* if requested sort alphabetically */
|
||||
/* this is mainly done for testing to ensure to always */
|
||||
/* process in the same way in different platforms */
|
||||
tommy_list_sort(&list, dd_name_compare);
|
||||
} else if (!disk->has_volatile_inodes) {
|
||||
}
|
||||
#if HAVE_STRUCT_DIRENT_D_INO
|
||||
else if (!disk->has_volatile_inodes) {
|
||||
/* if inodes are persistent */
|
||||
/* sort the list of dir entries by inodes */
|
||||
tommy_list_sort(&list, dd_ino_compare);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue