[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 01/02: remove 'illegal' (non-reentrant) log logic from signal h
From: |
gnunet |
Subject: |
[gnunet] 01/02: remove 'illegal' (non-reentrant) log logic from signal handler |
Date: |
Tue, 03 Mar 2020 12:35:30 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 9a6588810236327f0a7155c29bd5d5a3f3822652
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 3 12:31:12 2020 +0100
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);
--
To stop receiving notification emails like this one, please contact
address@hidden.