[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12997 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12997 - gnunet/src/transport |
Date: |
Wed, 15 Sep 2010 12:50:33 +0200 |
Author: nevans
Date: 2010-09-15 12:50:33 +0200 (Wed, 15 Sep 2010)
New Revision: 12997
Modified:
gnunet/src/transport/plugin_transport_tcp.c
gnunet/src/transport/plugin_transport_udp.c
Log:
safe stdin/stdout inheritance under windows
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-09-15 10:29:32 UTC (rev
12996)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-09-15 10:50:33 UTC (rev
12997)
@@ -2192,7 +2192,7 @@
tcp_transport_start_nat_server(struct Plugin *plugin)
{
- plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_YES);
+ plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_NO, GNUNET_YES);
if (plugin->server_stdout == NULL)
return GNUNET_SYSERR;
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2010-09-15 10:29:32 UTC (rev
12996)
+++ gnunet/src/transport/plugin_transport_udp.c 2010-09-15 10:50:33 UTC (rev
12997)
@@ -1627,7 +1627,7 @@
if (plugin->behind_nat == GNUNET_YES)
{
/* Pipe to read from started processes stdout (on read end) */
- plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES,
GNUNET_YES);
+ plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_NO,
GNUNET_YES);
if (plugin->server_stdout == NULL)
return sockets_created;
#if DEBUG_UDP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12997 - gnunet/src/transport,
gnunet <=