]> code.delx.au - pulseaudio/commitdiff
always check for libtool prefix binary name to avoid confusion when using both instal...
authorLennart Poettering <lennart@poettering.net>
Sun, 19 Oct 2008 20:24:18 +0000 (22:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 19 Oct 2008 20:24:18 +0000 (22:24 +0200)
src/pulsecore/pid.c

index 99ba3e1eddc278462c5560c6a670f6e13934b978..bf9ba983f104639f3cac3827178d058fdb6dec49 100644 (file)
@@ -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;
     }