From 2f686c87436120db1131638208d2ac6a718b5c54 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 23 Jun 2009 07:09:58 +0000 Subject: [PATCH] (child_setup_tty): Remove SIGNALS_VIA_CHARACTERS conditional, it is always defined on AIX. --- src/ChangeLog | 5 +++++ src/sysdep.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1c7e15979f9..680b72bc424 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-23 Dan Nicolaescu + + * sysdep.c (child_setup_tty): Remove SIGNALS_VIA_CHARACTERS + conditional, it is always defined on AIX. + 2009-06-23 Miles Bader * window.c (Vrecenter_redisplay): New variable. diff --git a/src/sysdep.c b/src/sysdep.c index 221febd0d7a..028e6e40957 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -578,12 +578,6 @@ child_setup_tty (out) /* rms: Formerly it set s.main.c_cc[VINTR] to 0377 here unconditionally. Then a SIGNALS_VIA_CHARACTERS conditional would force it to 0377. That looks like duplicated code. */ -#ifndef SIGNALS_VIA_CHARACTERS - /* QUIT and INTR work better as signals, so disable character forms */ - s.main.c_cc[VQUIT] = CDISABLE; - s.main.c_cc[VINTR] = CDISABLE; - s.main.c_lflag &= ~ISIG; -#endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */ s.main.c_cc[VEOL] = CDISABLE; s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */ #endif /* AIX */ -- 2.39.2