forwarded 550826 http://pulseaudio.org/ticket/679
quit

Maybe this?

diff -ur pulseaudio-0.9.19.orig/src/modules/module-cli.c 
pulseaudio-0.9.19/src/modules/module-cli.c
--- pulseaudio-0.9.19.orig/src/modules/module-cli.c     2009-10-03 
10:07:01.000000000 -0700
+++ pulseaudio-0.9.19/src/modules/module-cli.c  2009-10-17 07:28:47.467939290 
-0700
@@ -105,7 +105,12 @@
      * of log messages, particularly because if stdout and stderr are
      * dup'ed they share the same O_NDELAY, too. */
 
+#ifdef O_CLOEXEC
     if ((fd = open("/dev/tty", O_RDWR|O_CLOEXEC|O_NONBLOCK)) >= 0) {
+#else
+    if ((fd = open("/dev/tty", O_RDWR|O_NONBLOCK)) >= 0) {
+       pa_make_fd_cloexec(fd);
+#endif
         io = pa_iochannel_new(m->core->mainloop, fd, fd);
         pa_log_debug("Managed to open /dev/tty.");
     } else {



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to