diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-19 22:24:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-19 22:24:18 +0200 |
commit | d395792788f8e3b81a03a2b508d55f53b8f44cdb (patch) | |
tree | 92ea9224c54d83b05664829eb3c5c1841892e7ba /src/pulsecore/pid.c | |
parent | 60c2a82462df9429930894c220f168ef1a3fef38 (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
Diffstat (limited to 'src/pulsecore/pid.c')
-rw-r--r-- | src/pulsecore/pid.c | 4 |
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; } |