diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-22 10:25:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-22 10:25:34 +0000 |
commit | 73fd3edc250a6f7df402c63820774b5cbd1a73b1 (patch) | |
tree | 114297bc26c84b089cf69ff8557357571ac9037e /src/util/os_priority.c | |
parent | 340eac62af8df19b062fae89180684c5a02c2d6a (diff) | |
download | gnunet-73fd3edc250a6f7df402c63820774b5cbd1a73b1.tar.gz gnunet-73fd3edc250a6f7df402c63820774b5cbd1a73b1.zip |
-need to unset control pipe on OSX, check for bad FD in environment variable
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index e0e1614f4..12dba6a6b 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -722,6 +722,7 @@ start_process (int pipe_control, | |||
722 | } | 722 | } |
723 | if (0 != ret) | 723 | if (0 != ret) |
724 | { | 724 | { |
725 | unsetenv (GNUNET_OS_CONTROL_PIPE); | ||
725 | gnunet_proc = GNUNET_malloc (sizeof (struct GNUNET_OS_Process)); | 726 | gnunet_proc = GNUNET_malloc (sizeof (struct GNUNET_OS_Process)); |
726 | gnunet_proc->pid = ret; | 727 | gnunet_proc->pid = ret; |
727 | gnunet_proc->control_pipe = childpipe_write; | 728 | gnunet_proc->control_pipe = childpipe_write; |