- (dtucker) [openbsd-compat/readpassphrase.c] Resync against OpenBSD's r1.18: missing restore of SIGTTOU and some whitespace.

This commit is contained in:
Darren Tucker 2010-01-13 18:27:32 +11:00
parent a8f20cff82
commit ab3c2cab18
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
20100113
- (dtucker) [monitor_fdpass.c] Wrap poll.h include in ifdefs.
- (dtucker) [openbsd-compat/readpassphrase.c] Resync against OpenBSD's r1.18:
missing restore of SIGTTOU and some whitespace.
20100112
- (dtucker) OpenBSD CVS Sync

View File

@ -152,6 +152,7 @@ restart:
(void)sigaction(SIGTERM, &saveterm, NULL);
(void)sigaction(SIGTSTP, &savetstp, NULL);
(void)sigaction(SIGTTIN, &savettin, NULL);
(void)sigaction(SIGTTOU, &savettou, NULL);
if (input != STDIN_FILENO)
(void)close(input);
@ -172,7 +173,7 @@ restart:
errno = save_errno;
return(nr == -1 ? NULL : buf);
}
#if 0
char *
getpass(const char *prompt)