From 93531e9b08b2c641abc4bf5e53c5ebcd754c7d55 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Jun 2017 08:03:45 +0200 Subject: Move RTEMS-specific Termios API content Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833. --- cpukit/libcsupport/src/termios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libcsupport/src/termios.c') diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 2fb9d4f483..f310cb05ba 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -577,7 +577,7 @@ rtems_termios_open_tty( * Set default parameters */ tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL; - tty->termios.c_oflag = OPOST | ONLCR | XTABS; + tty->termios.c_oflag = OPOST | ONLCR | OXTABS; tty->termios.c_cflag = CS8 | CREAD | CLOCAL; tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL; @@ -1188,7 +1188,7 @@ oproc (unsigned char c, rtems_termios_tty *tty, bool wait) case '\t': columnAdj = 8 - (oldColumn & 7); - if ((tty->termios.c_oflag & TABDLY) == XTABS) { + if ((tty->termios.c_oflag & TABDLY) == OXTABS) { int i; len = (size_t) columnAdj; -- cgit v1.2.3