30 const int fnmatch_flags = FNM_CASEFOLD;
32 const int fnmatch_flags = 0;
37 for (path_cmp =
U.autoexec_paths.first; path_cmp; path_cmp = path_cmp->
next) {
38 if (path_cmp->
path[0] ==
'\0') {
42 if (fnmatch(path_cmp->
path, path, fnmatch_flags) == 0) {
@ USER_SCRIPT_AUTOEXEC_DISABLE
bool BKE_autoexec_match(const char *path)
struct bPathCompare * next