Blame openssh-5.8p2-sigpipe.patch
|
Jan F. Chadima |
19d4c7 |
diff -up openssh-5.8p2/ssh-keyscan.c.sigpipe openssh-5.8p2/ssh-keyscan.c
|
|
Jan F. Chadima |
19d4c7 |
--- openssh-5.8p2/ssh-keyscan.c.sigpipe 2011-08-23 18:30:33.873025916 +0200
|
|
Jan F. Chadima |
19d4c7 |
+++ openssh-5.8p2/ssh-keyscan.c 2011-08-23 18:32:24.574025362 +0200
|
|
Jan F. Chadima |
19d4c7 |
@@ -715,6 +715,8 @@ main(int argc, char **argv)
|
|
Jan F. Chadima |
19d4c7 |
fdlim_set(maxfd);
|
|
Jan F. Chadima |
19d4c7 |
fdcon = xcalloc(maxfd, sizeof(con));
|
|
Jan F. Chadima |
19d4c7 |
|
|
Jan F. Chadima |
19d4c7 |
+ signal(SIGPIPE, SIG_IGN);
|
|
Jan F. Chadima |
19d4c7 |
+
|
|
Jan F. Chadima |
19d4c7 |
read_wait_nfdset = howmany(maxfd, NFDBITS);
|
|
Jan F. Chadima |
19d4c7 |
read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
|
|
Jan F. Chadima |
19d4c7 |
|