From e4814a9f4c9bd076c996991144e4d255ab575f08 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 1 May 2010 13:14:10 -0700 Subject: [PATCH] * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused. --- src/ChangeLog | 4 ++++ src/sysdep.c | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 6f925be2a52..c839260336d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-05-01 Dan Nicolaescu + + * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused. + 2010-05-01 Eli Zaretskii Emulate POSIX_SIGNALS on MS-Windows. diff --git a/src/sysdep.c b/src/sysdep.c index 08c2bd48e59..7a9872e13c4 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -546,11 +546,6 @@ child_setup_tty (out) #endif /* not SIGNALS_VIA_CHARACTERS */ #ifdef AIX -/* AIX enhanced edit loses NULs, so disable it */ -#ifndef IBMR2AIX - s.main.c_line = 0; - s.main.c_iflag &= ~ASCEDIT; -#endif /* Also, PTY overloads NUL and BREAK. don't ignore break, but don't signal either, so it looks like NUL. */ s.main.c_iflag &= ~IGNBRK; @@ -1258,16 +1253,10 @@ init_sys_modes (tty_out) #endif /* mips or HAVE_TCATTR */ #ifdef AIX -#ifndef IBMR2AIX - /* AIX enhanced edit loses NULs, so disable it. */ - tty.main.c_line = 0; - tty.main.c_iflag &= ~ASCEDIT; -#else tty.main.c_cc[VSTRT] = CDISABLE; tty.main.c_cc[VSTOP] = CDISABLE; tty.main.c_cc[VSUSP] = CDISABLE; tty.main.c_cc[VDSUSP] = CDISABLE; -#endif /* IBMR2AIX */ if (tty_out->flow_control) { #ifdef VSTART -- 2.39.2