mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Uses case insensitive comparison in Windows.
This commit is contained in:
parent
3949e32add
commit
52bc209e83
3 changed files with 17 additions and 9 deletions
4
scan.c
4
scan.c
|
|
@ -587,7 +587,7 @@ static int scan_dir(struct snapraid_scan* scan, struct snapraid_state* state, in
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* exclude hidden stuff even beforer calling lstat() */
|
||||
/* exclude hidden files even beforer calling lstat() */
|
||||
if (filter_hidden(state->filter_hidden, dd) != 0) {
|
||||
if (state->verbose) {
|
||||
printf("Excluding hidden '%s'\n", path_next);
|
||||
|
|
@ -595,7 +595,7 @@ static int scan_dir(struct snapraid_scan* scan, struct snapraid_state* state, in
|
|||
continue;
|
||||
}
|
||||
|
||||
/* exclude content files even beforer calling lstat() */
|
||||
/* exclude content files even before calling lstat() */
|
||||
if (filter_content(&state->contentlist, path_next) != 0) {
|
||||
if (state->verbose) {
|
||||
printf("Excluding content '%s'\n", path_next);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue