Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libgnomesu
libgnomesu-1.0.0-xauth-nolookup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnomesu-1.0.0-xauth-nolookup.patch of Package libgnomesu
diff -upr libgnomesu-1.0.0/su-backend/common.c libgnomesu-1.0.0-new/su-backend/common.c --- libgnomesu-1.0.0/su-backend/common.c 2005-01-28 09:12:18.000000000 -0600 +++ libgnomesu-1.0.0-new/su-backend/common.c 2005-10-17 17:13:21.000000000 -0500 @@ -84,13 +84,12 @@ saveXauth (void) gchar line[1024]; /* Save X authorization data for after we changed identity */ - p = popen ("xauth list", "r"); + p = popen ("xauth nlist", "r"); if (!p) return; data = g_string_new (""); while (!feof (p) && fgets (line, sizeof (line), p)) { - g_string_append (data, "add "); g_string_append (data, line); } pclose (p); @@ -196,7 +195,7 @@ change_identity (const struct passwd *pw /* Create a new .Xauthorization file */ if (!xauth_data) return; - p = popen ("xauth -q 2>/dev/null", "w"); + p = popen ("xauth -q nmerge - 2>/dev/null", "w"); if (!p) return; fwrite (xauth_data, strlen (xauth_data), 1, p);
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