1 --- cvs-1.11.19/src/server.c.old3 2004-09-24 21:59:08.000000000 +0200
2 +++ cvs-1.11.19/src/server.c 2005-02-28 13:09:22.000000000 +0100
7 +#ifndef DONT_USE_SIGNALS
9 + /* Need to deregister the SIGABRT handler so that if an assertion
10 + fails and calls abort while we're cleaning up, we won't
11 + infinitely recurse in the cleanup function. */
12 + SIG_deregister(SIGABRT, server_cleanup);
14 +#endif /* !DONT_USE_SIGNALS */
16 if (buf_to_net != NULL)
18 /* Since we're done, go ahead and put BUF_TO_NET back into blocking
19 --- cvs-1.11.19/src/main.c.old3 2005-02-03 15:50:51.000000000 +0100
20 +++ cvs-1.11.19/src/main.c 2005-02-28 13:02:52.000000000 +0100
26 + /* Need to deregister the SIGABRT handler so that if an assertion
27 + fails and calls abort while we're cleaning up, we won't
28 + infinitely recurse in the cleanup function. */
29 + SIG_deregister(SIGABRT, main_cleanup);
35 --- cvs-1.11.19/src/rcs.c.old3 2005-01-31 23:15:08.000000000 +0100
36 +++ cvs-1.11.19/src/rcs.c 2005-02-28 13:06:06.000000000 +0100
37 @@ -8314,6 +8314,15 @@
38 called from a signal handler, so we don't know whether the
41 +#ifndef DONT_USE_SIGNALS
43 + /* Need to deregister the SIGABRT handler so that if an assertion
44 + fails and calls abort while we're cleaning up, we won't
45 + infinitely recurse in the cleanup function. */
46 + SIG_deregister(SIGABRT, rcs_cleanup);
48 +#endif /* !DONT_USE_SIGNALS */
50 /* FIXME: Do not perform buffered I/O from an interrupt handler like
51 this (via error). However, I'm leaving the error-calling code there
52 in the hope that on the rare occasion the error call is actually made
53 --- cvs-1.11.19/src/patch.c.old3 2005-01-31 23:15:02.000000000 +0100
54 +++ cvs-1.11.19/src/patch.c 2005-02-28 13:04:16.000000000 +0100
56 called from a signal handler, without SIG_begincrsect, so
57 we don't know whether the files got created. */
59 +#ifndef DONT_USE_SIGNALS
61 + /* Need to deregister the SIGABRT handler so that if an assertion
62 + fails and calls abort while we're cleaning up, we won't
63 + infinitely recurse in the cleanup function. */
64 + SIG_deregister(SIGABRT, patch_cleanup);
66 +#endif /* !DONT_USE_SIGNALS */
70 if (unlink_file (tmpfile1) < 0