@WrapEarnPass commented on this pull request.
> +
+ g_object_unref(la->reader);
+ g_object_unref(la->proc);
+ if (la->results)
+ g_ptr_array_unref(la->results);
+ g_free(la->query);
+ g_free(la->root);
+ if (current_search == la) current_search = NULL;
+ g_free(la);
+}
+
+static gchar **build_locate_argv(const gchar *query, gboolean case_sensitive,
+ const gchar *root)
+{
+ GPtrArray *argv = g_ptr_array_new();
+ g_ptr_array_add(argv, g_strdup("locate"));
There are 3 locates that I know of. locate, mlocate, and plocate. Ubuntu seems
to be defaulting to plocate now. I am not sure it will build
update-alternatives for locate to resolve. This might have to be a search.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1557#pullrequestreview-4585491781
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1557/review/[email protected]>