changeset 108204:ba928cce64c5

* sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 01 May 2010 13:14:10 -0700
parents 877cada981cc
children 01b4cde1b57b
files src/ChangeLog src/sysdep.c
diffstat 2 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat May 01 21:53:23 2010 +0300
+++ b/src/ChangeLog	Sat May 01 13:14:10 2010 -0700
@@ -1,3 +1,7 @@
+2010-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused.
+
 2010-05-01  Eli Zaretskii  <eliz@gnu.org>
 
 	Emulate POSIX_SIGNALS on MS-Windows.
--- a/src/sysdep.c	Sat May 01 21:53:23 2010 +0300
+++ b/src/sysdep.c	Sat May 01 13:14:10 2010 -0700
@@ -546,11 +546,6 @@
 #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 @@
 #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