[Github-comments] [geany/geany] Proxy Plugins Filename Pattern Matching (#1236)
Matthew Brush
notifications at xxxxx
Sun Oct 23 21:08:19 UTC 2016
codebrainz commented on this pull request.
> * but not a problem in practice yet */
foreach_list(node, active_proxies.head)
{
PluginProxy *proxy = node->data;
- if (utils_str_casecmp(ext, proxy->extension) == 0)
+ if (g_pattern_match(proxy->glob, strlen(file), file, NULL))
Sounds like a reasonable optimization.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1236
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161023/062037c5/attachment.html>
More information about the Github-comments
mailing list