[hackers] [st] Importing the patch of Roberto Vargas to inherit signal handlers. || Christoph Lohmann
changeset: 300:8e7b27e88122
user: Christoph Lohmann <20h_AT_r-36.net>
date: Thu Sep 13 23:19:57 2012 +0200
files: st.c
description:
Importing the patch of Roberto Vargas to inherit signal handlers.
diff -r 476e36000b9e -r 8e7b27e88122 st.c
--- a/st.c Thu Sep 13 07:16:38 2012 +0200
+++ b/st.c Thu Sep 13 23:19:57 2012 +0200
_AT_@ -774,6 +774,13 @@
unsetenv("LINES");
unsetenv("TERMCAP");
+ signal(SIGCHLD, SIG_DFL);
+ signal(SIGHUP, SIG_DFL);
+ signal(SIGINT, SIG_DFL);
+ signal(SIGQUIT, SIG_DFL);
+ signal(SIGTERM, SIG_DFL);
+ signal(SIGALRM, SIG_DFL);
+
DEFAULT(envshell, SHELL);
putenv("TERM="TNAME);
args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL};
Received on Thu Sep 13 2012 - 23:23:47 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 23:24:08 CEST