genode/repos/ports/src/app/openvpn/patches/fdmisc.c.patch

12 lines
275 B
Diff

--- a/src/openvpn/fdmisc.c 2014-06-04 12:19:22.428224954 +0200
+++ b/src/openvpn/fdmisc.c 2014-06-04 15:14:38.660582474 +0200
@@ -54,7 +54,7 @@
bool
set_cloexec_action (int fd)
{
-#ifndef WIN32
+#if 0
if (fcntl (fd, F_SETFD, FD_CLOEXEC) < 0)
return false;
#endif