about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-11-13 10:24:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-11-13 10:24:22 +0000
commit054038d8dd878700c594f095defb9facddf61bdc (patch)
tree4c2a03ba5268be69bbb0f35ae0516f30b49273fc
parentf598130ee8f61ed97fc941bf9b1610fd281835d3 (diff)
downloadzsh-054038d8dd878700c594f095defb9facddf61bdc.tar.gz
zsh-054038d8dd878700c594f095defb9facddf61bdc.tar.xz
zsh-054038d8dd878700c594f095defb9facddf61bdc.zip
17931: Philippe: restore blocking of SIGTERM in interactive shell
-rw-r--r--ChangeLog5
-rw-r--r--Src/init.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 106862a6d..00c57291f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-13  Peter Stephenson  <pws@csr.com>
+
+	* 17931: Philippe Troin <phil@fifi.org>: Src/init.c: restore
+	ignoring of SIGTERM in interactive shells.
+
 2002-11-12  Oliver Kiddle  <opk@zsh.org>
 
 	* Zvi Har'El: Completion/Unix/Command/_rcs: complete also for rcsdiff
diff --git a/Src/init.c b/Src/init.c
index 67ed1815b..16965e019 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -904,6 +904,7 @@ init_signals(void)
 #endif
     if (interact) {
 	install_handler(SIGALRM);
+	signal_ignore(SIGTERM);
     }
     if (jobbing) {
 	signal_ignore(SIGTTOU);