restore portable-specific tweak

This commit is contained in:
Damien Miller 2005-05-24 16:42:00 +10:00
parent 308c8b147b
commit 101afbbb17
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ restart:
/* Restore old terminal settings and signals. */
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
while (tcsetattr(input, TCSANOW|TCSASOFT, &oterm) == -1 &&
while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&
errno == EINTR)
continue;
}