Fix cut & pasto that prevented the SIGPIPE handler from being
restored before returning from tgetpass(). From mancha
This commit is contained in:
@@ -174,7 +174,7 @@ restore:
|
||||
(void) sigaction(SIGTSTP, &savetstp, NULL);
|
||||
(void) sigaction(SIGTTIN, &savettin, NULL);
|
||||
(void) sigaction(SIGTTOU, &savettou, NULL);
|
||||
(void) sigaction(SIGTTOU, &savepipe, NULL);
|
||||
(void) sigaction(SIGPIPE, &savepipe, NULL);
|
||||
if (input != STDIN_FILENO)
|
||||
(void) close(input);
|
||||
|
||||
|
Reference in New Issue
Block a user