[gnome-keyring] Use runtime dir instead of tmp for sockets



commit bd6ef379df244fa83e6e07bf29e093ca2f990075
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Apr 1 15:33:02 2011 -0400

    Use runtime dir instead of tmp for sockets
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646389

 daemon/gkd-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gkd-util.c b/daemon/gkd-util.c
index 83e9ee3..375e22a 100644
--- a/daemon/gkd-util.c
+++ b/daemon/gkd-util.c
@@ -112,7 +112,7 @@ gkd_util_init_master_directory (const gchar *replace)
 
 	/* Generate a new directory */
 	if (!valid) {
-		master_directory = g_build_filename (g_get_tmp_dir (), "keyring-XXXXXX", NULL);
+		master_directory = g_build_filename (g_get_user_runtime_dir (), "keyring-XXXXXX", NULL);
 		if (egg_mkdtemp (master_directory) == NULL)
 			g_warning ("couldn't create socket directory: %s", g_strerror (errno));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]