summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-19 22:24:18 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-23 23:00:49 +0200
commitaf133f504f83b7e657d3d9d1fda88d767e324b42 (patch)
tree09c4bc39f8c354eb067138ec7a9f118bf6646959
parent6ad65da869df57a93a6f0a53eb5744126ce439ba (diff)
always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel
-rw-r--r--src/pulsecore/pid.c4
1 files 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;
}