1 |
jpp |
1.1 |
diff -up sudo-1.8.6p3/src/tgetpass.c.sigpipefix sudo-1.8.6p3/src/tgetpass.c |
2 |
|
|
--- sudo-1.8.6p3/src/tgetpass.c.sigpipefix 2015-03-03 10:23:23.219038693 +0100 |
3 |
|
|
+++ sudo-1.8.6p3/src/tgetpass.c 2015-03-03 10:23:43.089813184 +0100 |
4 |
|
|
@@ -173,7 +173,7 @@ restore: |
5 |
|
|
(void) sigaction(SIGTSTP, &savetstp, NULL); |
6 |
|
|
(void) sigaction(SIGTTIN, &savettin, NULL); |
7 |
|
|
(void) sigaction(SIGTTOU, &savettou, NULL); |
8 |
|
|
- (void) sigaction(SIGTTOU, &savepipe, NULL); |
9 |
|
|
+ (void) sigaction(SIGPIPE, &savepipe, NULL); |
10 |
|
|
if (input != STDIN_FILENO) |
11 |
|
|
(void) close(input); |
12 |
|
|
|