mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
set CLOEXEC on more fds
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1668 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
5679de5cfc
commit
33c6f9dd52
2 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ pa_fdsem *pa_fdsem_new(void) {
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue