392 } else { |
392 } else { |
393 regex_t *matchnothing = malloc(sizeof(regex_t)); |
393 regex_t *matchnothing = malloc(sizeof(regex_t)); |
394 regcomp(matchnothing, "///", REG_NOSUB); |
394 regcomp(matchnothing, "///", REG_NOSUB); |
395 dir->exclude = ucx_list_append(NULL, matchnothing); |
395 dir->exclude = ucx_list_append(NULL, matchnothing); |
396 } |
396 } |
|
397 dir->tagfilter = tagfilter; |
397 |
398 |
398 if (trash && sstrtrim(sstr(trash)).length > 0) { |
399 if (trash && sstrtrim(sstr(trash)).length > 0) { |
399 if (trash[0] == '/' || trash[0] == '$') { |
400 if (trash[0] == '/' || trash[0] == '$') { |
400 dir->trash = scfg_create_path(trash); |
401 dir->trash = scfg_create_path(trash); |
401 } else { |
402 } else { |