mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-04 01:40:46 -05:00
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
Conflicts: src/modules/module-stream-restore.c
This commit is contained in:
commit
0ad2d55cbe
46 changed files with 720 additions and 173 deletions
|
|
@ -1877,17 +1877,17 @@ char *pa_make_path_absolute(const char *p) {
|
|||
static char *get_path(const char *fn, pa_bool_t prependmid, pa_bool_t rt) {
|
||||
char *rtp;
|
||||
|
||||
if (pa_is_path_absolute(fn))
|
||||
return pa_xstrdup(fn);
|
||||
|
||||
rtp = rt ? pa_get_runtime_dir() : pa_get_state_dir();
|
||||
|
||||
if (!rtp)
|
||||
return NULL;
|
||||
|
||||
if (fn) {
|
||||
char *r;
|
||||
|
||||
if (pa_is_path_absolute(fn))
|
||||
return pa_xstrdup(fn);
|
||||
|
||||
if (!rtp)
|
||||
return NULL;
|
||||
|
||||
if (prependmid) {
|
||||
char *mid;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue