[pulseaudio-commits] r2137 - /branches/prepare-0.9.10/src/pulsecore/core-util.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Mar 27 14:20:08 PDT 2008
Author: lennart
Date: Thu Mar 27 22:20:07 2008
New Revision: 2137
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2137&root=pulseaudio&view=rev
Log:
merge r2078 from trunk
Modified:
branches/prepare-0.9.10/src/pulsecore/core-util.c
Modified: branches/prepare-0.9.10/src/pulsecore/core-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/prepare-0.9.10/src/pulsecore/core-util.c?rev=2137&root=pulseaudio&r1=2136&r2=2137&view=diff
==============================================================================
--- branches/prepare-0.9.10/src/pulsecore/core-util.c (original)
+++ branches/prepare-0.9.10/src/pulsecore/core-util.c Thu Mar 27 22:20:07 2008
@@ -1129,8 +1129,15 @@
if ((e = getenv("PULSE_CONFIG_PATH")))
fn = lfn = pa_sprintf_malloc("%s/%s", e, local);
- else if (pa_get_home_dir(h, sizeof(h)))
+ else if (pa_get_home_dir(h, sizeof(h))) {
+ char *d;
+
+ d = pa_sprintf_malloc("%s/.pulse", h);
+ mkdir(d, 0755);
+ pa_xfree(d);
+
fn = lfn = pa_sprintf_malloc("%s/.pulse/%s", h, local);
+ }
if (lfn) {
FILE *f;
More information about the pulseaudio-commits
mailing list