summaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio/files/patch-src_daemon_main.c
blob: 27b2c4f1a6a88c9070b2d8e67cc2fa81133a4b1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- src/daemon/main.c.orig  2009-01-12 18:11:38.000000000 -0500
+++ src/daemon/main.c   2009-03-07 19:56:16.000000000 -0500
@@ -37,6 +37,7 @@
 #include <unistd.h>
 #include <locale.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 
 #include <liboil/liboil.h>
 
@@ -689,7 +690,7 @@ int main(int argc, char *argv[]) {
          * first take the autospawn lock to make things
          * synchronous. */
 
-        if ((autospawn_fd = pa_autospawn_lock_init()) < 0) {
+        /*if ((autospawn_fd = pa_autospawn_lock_init()) < 0) {
             pa_log("Failed to initialize autospawn lock");
             goto finish;
         }
@@ -699,7 +700,7 @@ int main(int argc, char *argv[]) {
             goto finish;
         }
 
-        autospawn_locked = TRUE;
+        autospawn_locked = TRUE;*/
     }
 
     if (conf->daemonize) {