2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Use TCSADRAIN instead of TCSAFLUSH since some OSes have issues with TCSAFLUSH.

This commit is contained in:
Todd C. Miller
2005-02-23 03:26:50 +00:00
parent 470a4b549d
commit 7facbeeed7

View File

@@ -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