Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
caja-extensions
caja-extensions_use-xdgsu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File caja-extensions_use-xdgsu.patch of Package caja-extensions
diff -Nur caja-extensions-1.26.0/gksu/libcaja-gksu.c caja-extensions-1.26.0-new/gksu/libcaja-gksu.c --- caja-extensions-1.26.0/gksu/libcaja-gksu.c 2021-08-07 03:34:59.000000000 +0800 +++ caja-extensions-1.26.0-new/gksu/libcaja-gksu.c 2021-08-11 09:28:23.634514383 +0800 @@ -237,11 +237,12 @@ if (exec_path != NULL) { GError *error = NULL; - gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 3); + gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 4); - argv[0] = exec_path; - argv[1] = full_cmd; - argv[2] = NULL; + argv[0] = g_strdup ("xdg-su"); + argv[1] = "-c"; + argv[2] = full_cmd; + argv[3] = NULL; if (!g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error)) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor