From fd40063b16d12f18145a583ef10b925feb8d57df Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 May 2015 15:24:57 +0000 Subject: -note --- src/vpn/gnunet-helper-vpn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vpn') diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 3bf0704f9..521aba0f8 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c @@ -360,6 +360,10 @@ run (int fd_tun) /* write refers to reading from stdin, writing to fd_tun */ int write_open = 1; + /* FIXME: this should work with '&&', but then 2/5 VPN + tests fail. With '||' the tests pass, but this process + keeps running --- but only for the 'GNS' test --- + even though the stdout is closed :-(. Very confusing. */ while ((1 == read_open) || (1 == write_open)) { FD_ZERO (&fds_w); -- cgit v1.2.3