mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
daemon: replace colons by dash in per-machine directory names for compat with weird filesystems
This commit is contained in:
parent
ac38c4d898
commit
5a0ef5fd13
1 changed files with 2 additions and 2 deletions
|
|
@ -1481,7 +1481,7 @@ char *pa_get_runtime_dir(void) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
k = pa_sprintf_malloc("%s" PA_PATH_SEP "%s:runtime", d, mid);
|
||||
k = pa_sprintf_malloc("%s" PA_PATH_SEP "%s-runtime", d, mid);
|
||||
pa_xfree(d);
|
||||
pa_xfree(mid);
|
||||
|
||||
|
|
@ -1904,7 +1904,7 @@ static char *get_path(const char *fn, pa_bool_t prependmid, pa_bool_t rt) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
r = pa_sprintf_malloc("%s" PA_PATH_SEP "%s:%s", rtp, mid, fn);
|
||||
r = pa_sprintf_malloc("%s" PA_PATH_SEP "%s-%s", rtp, mid, fn);
|
||||
pa_xfree(mid);
|
||||
} else
|
||||
r = pa_sprintf_malloc("%s" PA_PATH_SEP "%s", rtp, fn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue