Uses case insensitive comparison in Windows.

This commit is contained in:
Andrea Mazzoleni 2013-05-14 21:34:51 +02:00
parent 3949e32add
commit 52bc209e83
3 changed files with 17 additions and 9 deletions

4
scan.c
View file

@ -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);