projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae4222
)
-note
author
Christian Grothoff
<christian@grothoff.org>
Tue, 26 May 2015 15:24:57 +0000
(15:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 26 May 2015 15:24:57 +0000
(15:24 +0000)
src/vpn/gnunet-helper-vpn.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-helper-vpn.c
b/src/vpn/gnunet-helper-vpn.c
index 3bf0704f959db1468bb9108d6e58dcc3d1efe933..521aba0f83402ed7e803a02cebf24e3b6cecee88 100644
(file)
--- 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);