From f2ae6a42a4986ebae3d56a28c2859d3abc472234 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Tue, 13 Dec 2022 22:10:16 +0100 Subject: [PATCH] Remove code conditional on USE_TERMIO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The definition for this macro was removed in a previous commit. Reported-by: Iker Pedrosa Cc: Christian Göttsche Cc: Mike Frysinger Signed-off-by: Alejandro Colomar --- src/sulogin.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/sulogin.c b/src/sulogin.c index 65b74da4..ecf18c79 100644 --- a/src/sulogin.c +++ b/src/sulogin.c @@ -67,14 +67,6 @@ static void catch_signals (unused int sig) TERMIO termio; int err = 0; -#ifdef USE_TERMIO - ioctl (0, TCGETA, &termio); - termio.c_iflag |= (ICRNL | IXON); - termio.c_oflag |= (OPOST | ONLCR); - termio.c_cflag |= (CREAD); - termio.c_lflag |= (ISIG | ICANON | ECHO | ECHOE | ECHOK); - ioctl (0, TCSETAF, &termio); -#endif #ifdef USE_TERMIOS tcgetattr (0, &termio); termio.c_iflag |= (ICRNL | IXON);