]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/telnet-0.17-cleanup_race.patch
Merge remote-tracking branch 'origin/next' into thirteen
[people/pmueller/ipfire-2.x.git] / src / patches / telnet-0.17-cleanup_race.patch
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