[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: just use cat
From: |
gnunet |
Subject: |
[gnunet] branch master updated: just use cat |
Date: |
Wed, 06 Jan 2021 09:53:54 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new cff7a2fe5 just use cat
new 90499cabe Merge branch 'master' of git+ssh://gnunet.org/gnunet
cff7a2fe5 is described below
commit cff7a2fe5f78561bb091a96d776cc6e59fed016b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jan 6 09:53:00 2021 +0100
just use cat
---
src/util/test_os_start_process.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c
index ff5021d03..435b70e1a 100644
--- a/src/util/test_os_start_process.c
+++ b/src/util/test_os_start_process.c
@@ -118,29 +118,23 @@ read_call (void *cls)
static void
run_task (void *cls)
{
- char *fn;
const struct GNUNET_DISK_FileHandle *stdout_read_handle;
const struct GNUNET_DISK_FileHandle *wh;
- GNUNET_asprintf (&fn, "cat");
-
hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW);
if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL))
{
GNUNET_break (0);
ok = 1;
- GNUNET_free (fn);
return;
}
proc =
GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR,
hello_pipe_stdin, hello_pipe_stdout, NULL,
- fn,
- "test_gnunet_echo_hello", "-", NULL);
- GNUNET_free (fn);
-
+ "cat",
+ "cat", "-", NULL);
/* Close the write end of the read pipe */
GNUNET_DISK_pipe_close_end (hello_pipe_stdout, GNUNET_DISK_PIPE_END_WRITE);
/* Close the read end of the write pipe */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: just use cat,
gnunet <=