File gnome-commander-glib236.patch of Package gnome-commander

Index: gnome-commander-1.2.8.15/src/gnome-cmd-user-actions.cc
===================================================================
--- gnome-commander-1.2.8.15.orig/src/gnome-cmd-user-actions.cc
+++ gnome-commander-1.2.8.15/src/gnome-cmd-user-actions.cc
@@ -1130,7 +1130,7 @@ void command_root_mode (GtkMenuItem *men
     argv[i++] = su;
     if (need_c)
         argv[i++] = "-c";
-    argv[i++] = g_get_prgname ();
+    argv[i++] = g_strdup (g_get_prgname ());
     argv[i++] = NULL;
 
     GError *error = NULL;
openSUSE Build Service is sponsored by