chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic: pass flags to the fnmatch (#3606)
[elogind.git]
/
src
/
basic
/
strv.c
diff --git
a/src/basic/strv.c
b/src/basic/strv.c
index ba4d697b106959cc6054992ad11c7f374bb564a5..87b11d00dc1eeca3eb80b9377ce8fceefc6ada71 100644
(file)
--- a/
src/basic/strv.c
+++ b/
src/basic/strv.c
@@
-847,7
+847,7
@@
bool strv_fnmatch(char* const* patterns, const char *s, int flags) {
char* const* p;
STRV_FOREACH(p, patterns)
char* const* p;
STRV_FOREACH(p, patterns)
- if (fnmatch(*p, s,
0
) == 0)
+ if (fnmatch(*p, s,
flags
) == 0)
return true;
return false;
return true;
return false;