kov changed libgksu/trunk/libgksu/gksu-run-helper.c
Gustavo Noronha
kov at costa.debian.org
Sat Apr 15 14:46:05 UTC 2006
Mensagem de log:
remove trailing namespaces
-----
Modified: libgksu/trunk/libgksu/gksu-run-helper.c
===================================================================
--- libgksu/trunk/libgksu/gksu-run-helper.c 2006-04-15 14:30:17 UTC (rev 538)
+++ libgksu/trunk/libgksu/gksu-run-helper.c 2006-04-15 14:46:02 UTC (rev 539)
@@ -49,7 +49,7 @@
clean_dir (const gchar *dirname)
{
gchar *xauthname;
-
+
xauthname = g_strdup_printf ("%s/.Xauthority", dirname);
unlink (xauthname);
g_free (xauthname);
@@ -127,7 +127,7 @@
fwrite (xauth_token, sizeof (gchar), strlen (xauth_token), file);
fclose (file);
chmod (tmpfilename, S_IRUSR|S_IWUSR);
-
+
setenv ("XAUTHORITY", xauth_file, TRUE);
/* find out where the xauth binary is located */
@@ -151,7 +151,7 @@
system (command);
return_code = system (argv[1]);
-
+
clean_dir (xauth_dir);
return return_code;
}
More information about the gksu-commits
mailing list