billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=49266015c887b2d191657f6debe3eb10b1253a23
commit 49266015c887b2d191657f6debe3eb10b1253a23 Author: Boris Faure <bill...@gmail.com> Date: Wed May 26 22:53:14 2021 +0200 Revert "tyls: use eina_fnmatch" This is not available in the released EFL versions that are supported This reverts commit 4b7abf1e2285ff89f588d5cc8a2dd6c9502736a9. --- src/bin/tyls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/tyls.c b/src/bin/tyls.c index 1e8ff94..7e8644c 100644 --- a/src/bin/tyls.c +++ b/src/bin/tyls.c @@ -10,6 +10,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <fnmatch.h> #include "private.h" #include "tycommon.h" @@ -470,7 +471,7 @@ filematch(const char *name, const Cmatch *m) for (i = 0; m[i].match; i++) { - if (eina_fnmatch(m[i].match, name, 0)) + if (!fnmatch(m[i].match, name, 0)) return m[i].icon; } return NULL; @@ -504,7 +505,7 @@ printmatch(const char *name, const Cmatch *m) for (i = 0; m[i].match; i++) { - if (eina_fnmatch(m[i].match, name, 0)) + if (!fnmatch(m[i].match, name, 0)) { if (m[i].fr <= 5) colorprint(CUBE, FG, m[i].fr, m[i].fg, m[i].fb); if (m[i].br <= 5) colorprint(CUBE, BG, m[i].br, m[i].bg, m[i].bb); --