- (dtucker) [openbsd-compat/readpassphrase.c] Resync against OpenBSD's r1.18: missing restore of SIGTTOU and some whitespace.
This commit is contained in:
parent
a8f20cff82
commit
ab3c2cab18
|
@ -1,5 +1,7 @@
|
||||||
20100113
|
20100113
|
||||||
- (dtucker) [monitor_fdpass.c] Wrap poll.h include in ifdefs.
|
- (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
|
20100112
|
||||||
- (dtucker) OpenBSD CVS Sync
|
- (dtucker) OpenBSD CVS Sync
|
||||||
|
|
|
@ -152,6 +152,7 @@ restart:
|
||||||
(void)sigaction(SIGTERM, &saveterm, NULL);
|
(void)sigaction(SIGTERM, &saveterm, NULL);
|
||||||
(void)sigaction(SIGTSTP, &savetstp, NULL);
|
(void)sigaction(SIGTSTP, &savetstp, NULL);
|
||||||
(void)sigaction(SIGTTIN, &savettin, NULL);
|
(void)sigaction(SIGTTIN, &savettin, NULL);
|
||||||
|
(void)sigaction(SIGTTOU, &savettou, NULL);
|
||||||
if (input != STDIN_FILENO)
|
if (input != STDIN_FILENO)
|
||||||
(void)close(input);
|
(void)close(input);
|
||||||
|
|
||||||
|
@ -172,7 +173,7 @@ restart:
|
||||||
errno = save_errno;
|
errno = save_errno;
|
||||||
return(nr == -1 ? NULL : buf);
|
return(nr == -1 ? NULL : buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
char *
|
char *
|
||||||
getpass(const char *prompt)
|
getpass(const char *prompt)
|
||||||
|
|
Loading…
Reference in New Issue