git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a969b13
)
waitpipe: fix missing initializer from earlier commit
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 18 Jan 2009 10:03:31 +0000
(12:03 +0200)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 18 Jan 2009 10:03:31 +0000
(12:03 +0200)
src/misc/objects.c
patch
|
blob
|
history
diff --git
a/src/misc/objects.c
b/src/misc/objects.c
index
fe051fd
..
da4527c
100644
(file)
--- a/
src/misc/objects.c
+++ b/
src/misc/objects.c
@@
-415,7
+415,8
@@
int vlc_object_waitpipe( vlc_object_t *obj )
assert (internals->pipes[1] == -1);
#ifdef HAVE_EVENTFD
assert (internals->pipes[1] == -1);
#ifdef HAVE_EVENTFD
- if ((internals->pipes[0] = eventfd (0, 0)) == -1)
+ internals->pipes[0] = internals->pipes[1] = eventfd (0, 0);
+ if (internals->pipes[0] == -1)
#endif
{
if (pipe (internals->pipes))
#endif
{
if (pipe (internals->pipes))