These patches fix the issue that XDG_CONFIG_HOME isn't respected when creating or searching for cookies. The first two patches probably shouldn't be in this patch set, because they're just refactoring that has very little if any effect on the subsequent patches, but I'm too lazy to reorder the work. Tanu Kaskinen (9): client-conf: Don't report failure from pa_client_conf_load() client-conf: Move x11 and env loading to pa_client_conf_load() authkey: Remove pa_authkey_load(), it's redundant authkey: Rename pa_authkey_load_auto() to pa_authkey_load() core-util: Add pa_append_to_home_dir() esound, native: Pass an absolute path to pa_authkey_load() when using a file in the home directory core-util: Add pa_get_config_home_dir() core-util: Add pa_append_to_config_home_dir() authkey: Use the config home dir for relative paths src/daemon/main.c | 9 +-- src/daemon/server-lookup.c | 30 +--------- src/modules/module-esound-sink.c | 13 ++++- src/pulse/client-conf.c | 117 +++++++++++++++++++++------------------ src/pulse/client-conf.h | 11 ++-- src/pulse/context.c | 9 +-- src/pulsecore/auth-cookie.c | 2 +- src/pulsecore/authkey.c | 62 ++++++--------------- src/pulsecore/authkey.h | 3 +- src/pulsecore/core-util.c | 77 ++++++++++++++++++++------ src/pulsecore/core-util.h | 3 + src/pulsecore/native-common.h | 2 +- src/pulsecore/protocol-esound.c | 15 +++-- src/pulsecore/protocol-native.c | 7 ++- src/utils/pax11publish.c | 12 +--- 15 files changed, 182 insertions(+), 190 deletions(-) -- 1.9.3