Blame SOURCES/sudo-1.8.6p3-sigpipefix.patch
|
|
a67eaf |
diff -up sudo-1.8.6p3/src/tgetpass.c.sigpipefix sudo-1.8.6p3/src/tgetpass.c
|
|
|
a67eaf |
--- sudo-1.8.6p3/src/tgetpass.c.sigpipefix 2015-03-03 10:23:23.219038693 +0100
|
|
|
a67eaf |
+++ sudo-1.8.6p3/src/tgetpass.c 2015-03-03 10:23:43.089813184 +0100
|
|
|
a67eaf |
@@ -173,7 +173,7 @@ restore:
|
|
|
a67eaf |
(void) sigaction(SIGTSTP, &savetstp, NULL);
|
|
|
a67eaf |
(void) sigaction(SIGTTIN, &savettin, NULL);
|
|
|
a67eaf |
(void) sigaction(SIGTTOU, &savettou, NULL);
|
|
|
a67eaf |
- (void) sigaction(SIGTTOU, &savepipe, NULL);
|
|
|
a67eaf |
+ (void) sigaction(SIGPIPE, &savepipe, NULL);
|
|
|
a67eaf |
if (input != STDIN_FILENO)
|
|
|
a67eaf |
(void) close(input);
|
|
|
a67eaf |
|