summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorSimonP <simonp.git@gmail.com>2020-05-07 16:13:27 +0100
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>2020-12-14 19:25:12 +0000
commit9b0ae8327d990584bb9a966d8d7bee6badbdb8c0 (patch)
tree84e32a289e25917cf40fcd21a22a1e658215f520 /src/tests
parentcb91d7a12e6be0e2c720d47d2ceca322a7b21d2c (diff)
alsa-mixer: Respect XDG base directory spec when loading path configs
Try $XDG_DATA_HOME, then $XDG_DATA_DIRS, and finally fall back to old behaviour (prefix-defined directory). core-util: Ignore non-absolute XDG base dirs These are invalid per the spec. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/862 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/293>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/alsa-mixer-path-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tests/alsa-mixer-path-test.c b/src/tests/alsa-mixer-path-test.c
index 75cf08613..91e4d0dfa 100644
--- a/src/tests/alsa-mixer-path-test.c
+++ b/src/tests/alsa-mixer-path-test.c
@@ -17,7 +17,6 @@
* Meson. */
#ifndef MESON_BUILD
-/* This function was copied from alsa-mixer.c */
static const char *get_default_paths_dir(void) {
if (pa_run_from_build_tree())
return PA_SRCDIR "/modules/alsa/mixer/paths/";