You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 2000/02/07 22:19:51 UTC
cvs commit: apache-2.0/src/lib/apr/misc/unix start.c
rbb 00/02/07 13:19:51
Modified: src/lib/apr/misc/unix start.c
Log:
Fix the signalling logic for Apache 2.0. The removed code used to block
all signals sent to an APR process. This logic is left over from APR the
APR signals code which was removed a while ago. If APR doesn't have
signalling code, then we shouldn't be blocking signals.
Revision Changes Path
1.18 +0 -9 apache-2.0/src/lib/apr/misc/unix/start.c
Index: start.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/start.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- start.c 2000/01/25 23:04:39 1.17
+++ start.c 2000/02/07 21:19:50 1.18
@@ -187,16 +187,7 @@
*/
ap_status_t ap_initialize(void)
{
- sigset_t sigset;
-
setup_lock();
-
- sigfillset(&sigset);
-#if defined(HAVE_PTHREAD_SIGMASK) && defined(USE_THREADS)
- pthread_sigmask(SIG_BLOCK, &sigset, NULL);
-#else
- sigprocmask(SIG_BLOCK, &sigset, NULL);
-#endif
return APR_SUCCESS;
}