From 7facbeeed7d091cb3e8a152f689a14d7f7f0c4e9 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 23 Feb 2005 03:26:50 +0000 Subject: [PATCH] Use TCSADRAIN instead of TCSAFLUSH since some OSes have issues with TCSAFLUSH. --- tgetpass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgetpass.c b/tgetpass.c index cdd06a98e..41249781e 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -97,7 +97,7 @@ __unused static const char rcsid[] = "$Sudo$"; # define TERM termios # define tflags c_lflag # define term_getattr(f, t) tcgetattr(f, t) -# define term_setattr(f, t) tcsetattr(f, TCSAFLUSH|TCSASOFT, t) +# define term_setattr(f, t) tcsetattr(f, TCSADRAIN|TCSASOFT, t) #else # ifdef HAVE_TERMIO_H # define TERM termio -- 2.50.1