]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/telnet-0.17-cleanup_race.patch
media.cgi: Fix typo 'writen'.
[people/teissler/ipfire-2.x.git] / src / patches / telnet-0.17-cleanup_race.patch
CommitLineData
b52f6eb2
DW
1--- netkit-telnet-0.17/telnetd/telnetd.c.cleanup_race 2005-01-11 18:39:49.578123000 -0500
2+++ netkit-telnet-0.17/telnetd/telnetd.c 2005-01-11 18:42:45.909616000 -0500
3@@ -1081,6 +1081,8 @@
4 if (FD_ISSET(p, &obits) && (pfrontp - pbackp) > 0)
5 ptyflush();
6 }
7+ /* to avoid a race for wtmp lock */
8+ signal(SIGCHLD, SIG_IGN);
9 cleanup(0);
10 } /* end of telnet */
11