Loading pkgs/by-name/of/ofono/0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ index 924a45ec..f05055c3 100644 - gchar **excludes = NULL; - GSList *list; - GDir *dir; +static handle_dir(const gchar *plugin_path, const gchar **patterns, const gchar **excludes) { +static void handle_dir(gchar *plugin_path, gchar **patterns, gchar **excludes) { const gchar *file; gchar *filename; - unsigned int i; Loading Loading @@ -105,7 +105,7 @@ index 924a45ec..f05055c3 100644 + plugin_path_list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0); + + for (i = 0; plugin_path_list[i]; i++) { + handle_dir(plugin_path_list, patterns, excludes); + handle_dir(plugin_path_list[i], patterns, excludes); + } + + g_strfreev(plugin_path_list); Loading Loading
pkgs/by-name/of/ofono/0001-Search-connectors-in-OFONO_PLUGIN_PATH.patch +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ index 924a45ec..f05055c3 100644 - gchar **excludes = NULL; - GSList *list; - GDir *dir; +static handle_dir(const gchar *plugin_path, const gchar **patterns, const gchar **excludes) { +static void handle_dir(gchar *plugin_path, gchar **patterns, gchar **excludes) { const gchar *file; gchar *filename; - unsigned int i; Loading Loading @@ -105,7 +105,7 @@ index 924a45ec..f05055c3 100644 + plugin_path_list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0); + + for (i = 0; plugin_path_list[i]; i++) { + handle_dir(plugin_path_list, patterns, excludes); + handle_dir(plugin_path_list[i], patterns, excludes); + } + + g_strfreev(plugin_path_list); Loading