<div dir="ltr"><div></div>Reviewed-by: Marek Chalupa <<a href="mailto:mchqwerty@gmail.com">mchqwerty@gmail.com</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 September 2014 20:49, Karsten Otto <span dir="ltr"><<a href="mailto:karsten.otto@posteo.de" target="_blank">karsten.otto@posteo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Philip Withnall <<a href="mailto:philip@tecnocode.co.uk">philip@tecnocode.co.uk</a>><br>
<br>
Signed-off-by: Philip Withnall <<a href="mailto:philip@tecnocode.co.uk">philip@tecnocode.co.uk</a>><br>
---<br>
src/event-loop.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/event-loop.c b/src/event-loop.c<br>
index a149db9..1f571ba 100644<br>
--- a/src/event-loop.c<br>
+++ b/src/event-loop.c<br>
@@ -134,7 +134,7 @@ wl_event_loop_add_fd(struct wl_event_loop *loop,<br>
return NULL;<br>
<br>
source->base.interface = &fd_source_interface;<br>
- source->base.fd = fcntl(fd, F_DUPFD_CLOEXEC, 0);<br>
+ source->base.fd = wl_os_dupfd_cloexec(fd, 0);<br>
source->func = func;<br>
source->fd = fd;<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.9.1<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div>