From: Alejandro Colomar Date: Tue, 13 Dec 2022 21:10:16 +0000 (+0100) Subject: Remove code conditional on USE_TERMIO X-Git-Tag: 4.14.0-rc1~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ae6a42a4986ebae3d56a28c2859d3abc472234;p=thirdparty%2Fshadow.git Remove code conditional on USE_TERMIO 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 --- diff --git a/src/sulogin.c b/src/sulogin.c index 65b74da41..ecf18c79c 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);