Switch to side-by-side view
--- a/src/utils/conftree.cpp +++ b/src/utils/conftree.cpp @@ -540,7 +540,7 @@ mylist.reserve(ss->second.size()); map<string, string>::const_iterator it; for (it = ss->second.begin(); it != ss->second.end(); it++) { - if (pattern && FNM_NOMATCH == fnmatch(pattern, it->first.c_str(), 0)) + if (pattern && 0 != fnmatch(pattern, it->first.c_str(), 0)) continue; mylist.push_back(it->first); }