git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1668
fefdeb5f-60dc-0310-8127-
8f9354f1896f
pa_make_nonblock_fd(m->wakeup_pipe[0]);
pa_make_nonblock_fd(m->wakeup_pipe[1]);
+ pa_fd_set_cloexec(m->wakeup_pipe[0], 1);
+ pa_fd_set_cloexec(m->wakeup_pipe[1], 1);
m->wakeup_requested = 0;
PA_LLIST_HEAD_INIT(pa_io_event, m->io_events);
return NULL;
}
+ pa_fd_set_cloexec(f->fds[0], 1);
+ pa_fd_set_cloexec(f->fds[1], 1);
+
pa_atomic_store(&f->waiting, 0);
pa_atomic_store(&f->signalled, 0);
pa_atomic_store(&f->in_pipe, 0);