Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit PR/48821: If called from tty_stty(), recalculate...



details:   https://anonhg.NetBSD.org/src/rev/6c0a4e5fe764
branches:  trunk
changeset: 796090:6c0a4e5fe764
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 19 21:01:48 2014 +0000

description:
PR/48821: If called from tty_stty(), recalculate flags.

diffstat:

 lib/libedit/tty.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7c71df21e6f8 -r 6c0a4e5fe764 lib/libedit/tty.c
--- a/lib/libedit/tty.c Mon May 19 20:39:23 2014 +0000
+++ b/lib/libedit/tty.c Mon May 19 21:01:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty.c,v 1.44 2014/05/19 19:54:12 christos Exp $        */
+/*     $NetBSD: tty.c,v 1.45 2014/05/19 21:01:48 christos Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)tty.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: tty.c,v 1.44 2014/05/19 19:54:12 christos Exp $");
+__RCSID("$NetBSD: tty.c,v 1.45 2014/05/19 21:01:48 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -1273,6 +1273,7 @@
                }
        }
 
+       tty_setup_flags(el, tios, z);
        if (el->el_tty.t_mode == z) {
                if (tty_setty(el, TCSADRAIN, tios) == -1) {
 #ifdef DEBUG_TTY



Home | Main Index | Thread Index | Old Index