Hi Martin, Martin Kopta wrote on Sat, Aug 04, 2018 at 11:04:34PM +0200:
> The original version from Bruce Holloway in 1986-03-06 [0] did only one > signal(SIGINT), but the call was probably duplicated after code cleanup by ESR > somewhere between 1986 and 1993. > > Please, confirm there is no hidden reason to call the same signal() twice. > I am unsure. > > [0] https://groups.google.com/forum/#!topic/net.games/StTQg4OiF60 Committed, thanks. Ingo > Index: bs.c > =================================================================== > RCS file: /cvs/src/games/bs/bs.c,v > retrieving revision 1.39 > diff -u -p -r1.39 bs.c > --- bs.c 7 Mar 2016 12:07:55 -0000 1.39 > +++ bs.c 4 Aug 2018 20:22:43 -0000 > @@ -255,7 +255,6 @@ intro(void) > char *tmpname; > > (void) signal(SIGINT,uninitgame); > - (void) signal(SIGINT,uninitgame); > if(signal(SIGQUIT,SIG_IGN) != SIG_IGN) > (void)signal(SIGQUIT,uninitgame);
