summaryrefslogtreecommitdiffstats
path: root/polyp
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-27 14:00:59 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-27 14:00:59 +0000
commit7f3c92bad94b2eada69b4303a3f18d2b52a6d8bf (patch)
tree37ab684cc12bfdc8fe13c687ffe8b83e6f635c51 /polyp
parent9a9309f5938ecc2b79af72f1921ebd9178c029e4 (diff)
* fix autospawn lock file creation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@315 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp')
-rw-r--r--polyp/polyplib-context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c
index 899a8176..517fcbeb 100644
--- a/polyp/polyplib-context.c
+++ b/polyp/polyplib-context.c
@@ -592,6 +592,7 @@ int pa_context_connect(struct pa_context *c, const char *server, int spawn, cons
char lf[PATH_MAX];
pa_runtime_path(AUTOSPAWN_LOCK, lf, sizeof(lf));
+ pa_make_secure_parent_dir(lf);
assert(c->autospawn_lock_fd <= 0);
c->autospawn_lock_fd = pa_lock_lockfile(lf);