diff options
| author | Dan Nicolaescu | 2010-05-01 13:14:10 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-05-01 13:14:10 -0700 |
| commit | e4814a9f4c9bd076c996991144e4d255ab575f08 (patch) | |
| tree | ea51f4d11db315c913ae4a4dc3f31c1ed501d673 /src | |
| parent | d21133bcb82d6ecf88fc84e0958b758d7a33b194 (diff) | |
| download | emacs-e4814a9f4c9bd076c996991144e4d255ab575f08.tar.gz emacs-e4814a9f4c9bd076c996991144e4d255ab575f08.zip | |
* sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2010-05-01 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, unused. | ||
| 4 | |||
| 1 | 2010-05-01 Eli Zaretskii <eliz@gnu.org> | 5 | 2010-05-01 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | Emulate POSIX_SIGNALS on MS-Windows. | 7 | 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) | |||
| 546 | #endif /* not SIGNALS_VIA_CHARACTERS */ | 546 | #endif /* not SIGNALS_VIA_CHARACTERS */ |
| 547 | 547 | ||
| 548 | #ifdef AIX | 548 | #ifdef AIX |
| 549 | /* AIX enhanced edit loses NULs, so disable it */ | ||
| 550 | #ifndef IBMR2AIX | ||
| 551 | s.main.c_line = 0; | ||
| 552 | s.main.c_iflag &= ~ASCEDIT; | ||
| 553 | #endif | ||
| 554 | /* Also, PTY overloads NUL and BREAK. | 549 | /* Also, PTY overloads NUL and BREAK. |
| 555 | don't ignore break, but don't signal either, so it looks like NUL. */ | 550 | don't ignore break, but don't signal either, so it looks like NUL. */ |
| 556 | s.main.c_iflag &= ~IGNBRK; | 551 | s.main.c_iflag &= ~IGNBRK; |
| @@ -1258,16 +1253,10 @@ init_sys_modes (tty_out) | |||
| 1258 | #endif /* mips or HAVE_TCATTR */ | 1253 | #endif /* mips or HAVE_TCATTR */ |
| 1259 | 1254 | ||
| 1260 | #ifdef AIX | 1255 | #ifdef AIX |
| 1261 | #ifndef IBMR2AIX | ||
| 1262 | /* AIX enhanced edit loses NULs, so disable it. */ | ||
| 1263 | tty.main.c_line = 0; | ||
| 1264 | tty.main.c_iflag &= ~ASCEDIT; | ||
| 1265 | #else | ||
| 1266 | tty.main.c_cc[VSTRT] = CDISABLE; | 1256 | tty.main.c_cc[VSTRT] = CDISABLE; |
| 1267 | tty.main.c_cc[VSTOP] = CDISABLE; | 1257 | tty.main.c_cc[VSTOP] = CDISABLE; |
| 1268 | tty.main.c_cc[VSUSP] = CDISABLE; | 1258 | tty.main.c_cc[VSUSP] = CDISABLE; |
| 1269 | tty.main.c_cc[VDSUSP] = CDISABLE; | 1259 | tty.main.c_cc[VDSUSP] = CDISABLE; |
| 1270 | #endif /* IBMR2AIX */ | ||
| 1271 | if (tty_out->flow_control) | 1260 | if (tty_out->flow_control) |
| 1272 | { | 1261 | { |
| 1273 | #ifdef VSTART | 1262 | #ifdef VSTART |