#983732 execute.c: add comments related to "signal()"

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-02-28 23:03:04 UTC
Severity:
normal
Tags:
#983732#5
Date:
2021-02-28 23:01:33 UTC
From:
To:
Dear Maintainer,

  Add comments related to "signal()".

  Add data type declarations of arguments to a prototype.

  Added a FIXME: use "sigaction(2)", see "signal(2)"

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 execute.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/execute.c b/execute.c
index ff9e789..04c6afc 100644
--- a/execute.c
+++ b/execute.c
@@ -30,7 +30,7 @@ static char    *init_shell = SHELL;
 char           *user_shell;
 char           *exec_chdir_to = NULL;