Permalink
Browse files

2009-12-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

	* mod_mono.c: fix compilation on systems that don't define SIGPWR.


svn path=/trunk/mod_mono/; revision=147788
  • Loading branch information...
gonzalop committed Dec 7, 2009
1 parent df77007 commit 964d57e542f2c6093ebdeb0cf2953a83a34c404e
Showing with 9 additions and 0 deletions.
  1. +4 −0 src/ChangeLog
  2. +5 −0 src/mod_mono.c
View
@@ -1,3 +1,7 @@
2009-12-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mod_mono.c: fix compilation on systems that don't define SIGPWR.
2009-12-02 Marek Habersack <mhabersack@novell.com>
* mod_mono.c: added new directive MonoTargetFramework which allows
View
@@ -1752,9 +1752,14 @@ fork_mod_mono_server (apr_pool_t *pool, xsp_data *config)
argv [9], argv [10], argv [11], argv [12]);
/* Unblock signals Mono uses: see bug #472732 */
/* TODO: are PWR and XCPU used in non-linux systems too? What about 33 and 35? */
sigemptyset (&sigset);
#ifdef SIGPWR
sigaddset (&sigset, SIGPWR);
#endif
#ifdef SIGXCPU
sigaddset (&sigset, SIGXCPU);
#endif
sigaddset (&sigset, 33);
sigaddset (&sigset, 35);
sigprocmask (SIG_UNBLOCK, &sigset, NULL);

0 comments on commit 964d57e

Please sign in to comment.