--- a/settings.c Thu Feb 02 16:55:51 2012 +0100 +++ b/settings.c Thu Feb 09 15:56:18 2012 +0100 @@ -16,9 +16,9 @@ settings->fileSeparator = '/'; #endif /* _WIN32 */ settings->recursive = false; - settings->includeSuffixes = false; settings->matchesOnly = false; - settings->suffixList = new_string_list_t(); + settings->includeSuffixes = new_string_list_t(); + settings->excludeSuffixes = new_string_list_t(); settings->verbose = true; settings->bfileHeuristics = new_bfile_heuristics_t(); settings->confusing_lnlen = false; @@ -30,7 +30,8 @@ void destroy_settings_t(settings_t* settings) { destroy_regex_parser_t(settings->regex); - destroy_string_list_t(settings->suffixList); + destroy_string_list_t(settings->includeSuffixes); + destroy_string_list_t(settings->excludeSuffixes); destroy_bfile_heuristics_t(settings->bfileHeuristics); free(settings); }