svn commit: r210060 - stable/7/contrib/tcsh
Mark Peek
mp at FreeBSD.org
Wed Jul 14 15:18:22 UTC 2010
Author: mp
Date: Wed Jul 14 15:18:22 2010
New Revision: 210060
URL: http://svn.freebsd.org/changeset/base/210060
Log:
Merge r197812:
Fix tcsh losing history when tcsh terminates because the pty beneath it
is closed.
Modified:
stable/7/contrib/tcsh/sh.c
Directory Properties:
stable/7/contrib/tcsh/ (props changed)
Modified: stable/7/contrib/tcsh/sh.c
==============================================================================
--- stable/7/contrib/tcsh/sh.c Wed Jul 14 15:14:52 2010 (r210059)
+++ stable/7/contrib/tcsh/sh.c Wed Jul 14 15:18:22 2010 (r210060)
@@ -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");
More information about the svn-src-stable-7
mailing list