projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c2a82
)
always check for libtool prefix binary name to avoid confusion when using both instal...
author
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Oct 2008 20:24:18 +0000
(22:24 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Oct 2008 20:24:18 +0000
(22:24 +0200)
src/pulsecore/pid.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/pid.c
b/src/pulsecore/pid.c
index
99ba3e1
..
bf9ba98
100644
(file)
--- 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;
}