summaryrefslogtreecommitdiffstats
path: root/tcsh-6.17.00-history.patch
blob: fef47fb53dc7ecf15946e2adccaa3c41a6f667fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up tcsh-6.17.00/sh.c_old tcsh-6.17.00/sh.c
--- tcsh-6.17.00/sh.c_old	2009-10-19 17:18:01.000000000 +0200
+++ tcsh-6.17.00/sh.c	2009-10-19 17:18:50.000000000 +0200
@@ -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");