[vlc-devel] commit: eventfd: set close-on-exec flag ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Feb 13 14:18:25 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 13 15:18:10 2010 +0200| [53de5bb90f5e67371c9f6ff365f7065362420da7] | committer: Rémi Denis-Courmont
eventfd: set close-on-exec flag
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53de5bb90f5e67371c9f6ff365f7065362420da7
---
src/misc/objects.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index e8f83d8..1dfbffb 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -357,7 +357,7 @@ int vlc_object_waitpipe( vlc_object_t *obj )
assert (internals->pipes[1] == -1);
#if defined (HAVE_SYS_EVENTFD_H)
- internals->pipes[0] = internals->pipes[1] = eventfd (0, 0);
+ internals->pipes[0] = internals->pipes[1] = eventfd (0, EFD_CLOEXEC);
if (internals->pipes[0] == -1)
#endif
{
More information about the vlc-devel
mailing list