[gnome-builder] foundry: reduce to single use of fnmatch()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] foundry: reduce to single use of fnmatch()
- Date: Wed, 5 Jun 2019 01:31:46 +0000 (UTC)
commit d368b07e19ba7dec95244875ad591fc19298ef16
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 4 18:12:41 2019 -0700
foundry: reduce to single use of fnmatch()
src/libide/foundry/ide-simple-build-system-discovery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-simple-build-system-discovery.c
b/src/libide/foundry/ide-simple-build-system-discovery.c
index b27583c6d..571e81185 100644
--- a/src/libide/foundry/ide-simple-build-system-discovery.c
+++ b/src/libide/foundry/ide-simple-build-system-discovery.c
@@ -319,7 +319,7 @@ ide_simple_build_system_discovery_check_dir (IdeSimpleBuildSystemDiscovery *self
g_autoptr(GFileInfo) info = infoptr;
const gchar *name = g_file_info_get_name (info);
- if (fnmatch (priv->glob, name, 0) == 0)
+ if (ide_simple_build_system_discovery_match (self, name))
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]