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"); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"