diff options
Diffstat (limited to 'audio/pulseaudio/files/patch-src_modules_module-cli.c')
-rw-r--r-- | audio/pulseaudio/files/patch-src_modules_module-cli.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/audio/pulseaudio/files/patch-src_modules_module-cli.c b/audio/pulseaudio/files/patch-src_modules_module-cli.c deleted file mode 100644 index 4b0fedcc8878..000000000000 --- a/audio/pulseaudio/files/patch-src_modules_module-cli.c +++ /dev/null @@ -1,15 +0,0 @@ ---- src/modules/module-cli.c.orig 2009-09-19 13:57:53.000000000 -0400 -+++ src/modules/module-cli.c 2009-09-19 14:04:25.000000000 -0400 -@@ -105,7 +105,12 @@ int pa__init(pa_module*m) { - * 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 && -+ fcntl(fd, F_SETFD, FD_CLOEXEC) != -1) { -+#endif - io = pa_iochannel_new(m->core->mainloop, fd, fd); - pa_log_debug("Managed to open /dev/tty."); - } else { |