From af133f504f83b7e657d3d9d1fda88d767e324b42 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 19 Oct 2008 22:24:18 +0200 Subject: always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel --- src/pulsecore/pid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/pid.c b/src/pulsecore/pid.c index 99ba3e1e..bf9ba983 100644 --- a/src/pulsecore/pid.c +++ b/src/pulsecore/pid.c @@ -171,14 +171,14 @@ static int proc_name_ours(pid_t pid, const char *procname) { good = pa_startswith(stored, expected); pa_xfree(expected); -#if !defined(__OPTIMIZE__) +/*#if !defined(__OPTIMIZE__)*/ if (!good) { /* libtool likes to rename our binary names ... */ expected = pa_sprintf_malloc("%lu (lt-%s)", (unsigned long) pid, procname); good = pa_startswith(stored, expected); pa_xfree(expected); } -#endif +/*#endif*/ return !!good; } -- cgit