summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-12-09 14:01:34 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-12-09 14:01:34 +0000
commita9e8e3c2c45e5b833afd311af3d0031f4c838132 (patch)
tree63a06325e07cb9fd1f4b77eb7dd1f382720c544d /legacy
parentea7834865ea8da78d98603841932e6764aaeae58 (diff)
use cache dir for data lock
SVN revision: 55414
Diffstat (limited to 'legacy')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop.c b/legacy/efreet/src/lib/efreet_desktop.c
index 6ae5d8e758..83d8ecaeb6 100644
--- a/legacy/efreet/src/lib/efreet_desktop.c
+++ b/legacy/efreet/src/lib/efreet_desktop.c
@@ -770,7 +770,7 @@ efreet_desktop_write_cache_dirs_file(void)
770 770
771 if (!efreet_desktop_dirs) return 1; 771 if (!efreet_desktop_dirs) return 1;
772 772
773 snprintf(file, sizeof(file), "%s/.efreet/desktop_data.lock", efreet_home_dir_get()); 773 snprintf(file, sizeof(file), "%s/desktop_data.lock", efreet_cache_home_get());
774 fd = open(file, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); 774 fd = open(file, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
775 if (fd < 0) return 0; 775 if (fd < 0) return 0;
776 /* TODO: Retry update cache later */ 776 /* TODO: Retry update cache later */