Don't block SIGINT in getpass(3); this doesn't make sense.

This commit is contained in:
Joerg Wunsch 1995-12-27 23:23:00 +00:00
parent 9f234b3662
commit 5237ee4167

View File

@ -67,7 +67,7 @@ getpass(prompt)
* note - blocking signals isn't necessarily the
* right thing, but we leave it for now.
*/
omask = sigblock(sigmask(SIGINT)|sigmask(SIGTSTP));
omask = sigblock(sigmask(SIGTSTP));
(void)tcgetattr(fileno(fp), &term);
if (echo = (term.c_lflag & ECHO)) {
term.c_lflag &= ~ECHO;