diff options
author | Damien Miller <djm@mindrot.org> | 2005-05-24 16:42:00 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-05-24 16:42:00 +1000 |
commit | 101afbbb170bdbc81026b0385ab735e9f23a2835 (patch) | |
tree | be000c858a926c255359ba3d5080e8827499f38c | |
parent | 308c8b147bb6a5598902870675c6c5d5975470aa (diff) |
restore portable-specific tweak
-rw-r--r-- | openbsd-compat/readpassphrase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 5138b403..eb060bdb 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c @@ -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; } |