summaryrefslogtreecommitdiff
path: root/contrib/tcsh
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-06 20:19:16 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-06 20:19:16 +0000
commite05b498065eaf49cc392b0315a26fe8f416b8ac1 (patch)
tree5f48e06fbc11b93af1444dae33e53820c86d8a93 /contrib/tcsh
parent1c232cd509c1fd9cb772bd829c3a220a5a6379bb (diff)
downloadsrc-test2-e05b498065eaf49cc392b0315a26fe8f416b8ac1.tar.gz
src-test2-e05b498065eaf49cc392b0315a26fe8f416b8ac1.zip
Notes
Diffstat (limited to 'contrib/tcsh')
-rw-r--r--contrib/tcsh/sh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tcsh/sh.c b/contrib/tcsh/sh.c
index 73b6d7f54832..f90eeab19423 100644
--- a/contrib/tcsh/sh.c
+++ b/contrib/tcsh/sh.c
@@ -1291,6 +1291,8 @@ main(int argc, char **argv)
/*
* Mop-up.
*/
+ /* Take care of these (especially HUP) here instead of inside flush. */
+ handle_pending_signals();
if (intty) {
if (loginsh) {
xprintf("logout\n");