[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32939 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32939 - gnunet/src/util |
Date: |
Mon, 7 Apr 2014 20:11:22 +0200 |
Author: grothoff
Date: 2014-04-07 20:11:22 +0200 (Mon, 07 Apr 2014)
New Revision: 32939
Modified:
gnunet/src/util/os_priority.c
Log:
-process in logical order
Modified: gnunet/src/util/os_priority.c
===================================================================
--- gnunet/src/util/os_priority.c 2014-04-07 17:55:01 UTC (rev 32938)
+++ gnunet/src/util/os_priority.c 2014-04-07 18:11:22 UTC (rev 32939)
@@ -563,6 +563,17 @@
childpipe_write = NULL;
childpipe_read_fd = -1;
}
+ if (NULL != pipe_stdin)
+ {
+ GNUNET_assert (GNUNET_OK ==
+ GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle
+ (pipe_stdin,
GNUNET_DISK_PIPE_END_READ),
+ &fd_stdin_read, sizeof
(int)));
+ GNUNET_assert (GNUNET_OK ==
+ GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle
+ (pipe_stdin,
GNUNET_DISK_PIPE_END_WRITE),
+ &fd_stdin_write, sizeof
(int)));
+ }
if (NULL != pipe_stdout)
{
GNUNET_assert (GNUNET_OK ==
@@ -575,17 +586,6 @@
(pipe_stdout,
GNUNET_DISK_PIPE_END_READ),
&fd_stdout_read, sizeof
(int)));
}
- if (NULL != pipe_stdin)
- {
- GNUNET_assert (GNUNET_OK ==
- GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle
- (pipe_stdin,
GNUNET_DISK_PIPE_END_READ),
- &fd_stdin_read, sizeof
(int)));
- GNUNET_assert (GNUNET_OK ==
- GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle
- (pipe_stdin,
GNUNET_DISK_PIPE_END_WRITE),
- &fd_stdin_write, sizeof
(int)));
- }
if (NULL != pipe_stderr)
{
GNUNET_assert (GNUNET_OK ==
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32939 - gnunet/src/util,
gnunet <=