|
a/src/utils/conftree.cpp |
|
b/src/utils/conftree.cpp |
|
... |
|
... |
538 |
return mylist;
|
538 |
return mylist;
|
539 |
}
|
539 |
}
|
540 |
mylist.reserve(ss->second.size());
|
540 |
mylist.reserve(ss->second.size());
|
541 |
map<string, string>::const_iterator it;
|
541 |
map<string, string>::const_iterator it;
|
542 |
for (it = ss->second.begin(); it != ss->second.end(); it++) {
|
542 |
for (it = ss->second.begin(); it != ss->second.end(); it++) {
|
543 |
if (pattern && FNM_NOMATCH == fnmatch(pattern, it->first.c_str(), 0))
|
543 |
if (pattern && 0 != fnmatch(pattern, it->first.c_str(), 0))
|
544 |
continue;
|
544 |
continue;
|
545 |
mylist.push_back(it->first);
|
545 |
mylist.push_back(it->first);
|
546 |
}
|
546 |
}
|
547 |
return mylist;
|
547 |
return mylist;
|
548 |
}
|
548 |
}
|