48 const int fnmatch_flags = FNM_CASEFOLD;
50 const int fnmatch_flags = 0;
55 for (path_cmp =
U.autoexec_paths.first; path_cmp; path_cmp = path_cmp->
next) {
56 if (path_cmp->
path[0] ==
'\0') {
60 if (fnmatch(path_cmp->
path, path, fnmatch_flags) == 0) {
@ USER_SCRIPT_AUTOEXEC_DISABLE
bool BKE_autoexec_match(const char *path)
struct bPathCompare * next