From 9a6588810236327f0a7155c29bd5d5a3f3822652 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Mar 2020 12:31:12 +0100 Subject: [PATCH] remove 'illegal' (non-reentrant) log logic from signal handler --- src/util/gnunet-timeout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/gnunet-timeout.c b/src/util/gnunet-timeout.c index f650475cb..4c3c9125d 100644 --- a/src/util/gnunet-timeout.c +++ b/src/util/gnunet-timeout.c @@ -45,13 +45,11 @@ sigchld_handler (int val) if (WIFEXITED (status) != 0) { ret = WEXITSTATUS (status); - fprintf (stderr, "Process exited with result %u\n", ret); _exit (ret); /* return same status code */ } if (WIFSIGNALED (status) != 0) { ret = WTERMSIG (status); - fprintf (stderr, "Process received signal %u\n", ret); kill (getpid (), ret); /* kill self with the same signal */ } _exit (-1); -- 2.25.1