You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Stein <gs...@lyra.org> on 2000/07/13 23:04:01 UTC

Re: cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c

On Thu, Jul 13, 2000 at 04:06:48PM -0000, rbb@locus.apache.org wrote:
> rbb         00/07/13 09:06:47
> 
>   Modified:    src/modules/mpm/mpmt mpmt.c
>   Log:
>   mpmt needs to deal with signals in PREFORK mode.
>   
>   Revision  Changes    Path
>   1.12      +5 -0      apache-2.0/src/modules/mpm/mpmt/mpmt.c
>   
>   Index: mpmt.c
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt/mpmt.c,v
>   retrieving revision 1.11
>   retrieving revision 1.12
>   diff -u -r1.11 -r1.12
>   --- mpmt.c	2000/07/11 22:12:16	1.11
>   +++ mpmt.c	2000/07/13 16:06:46	1.12
>   @@ -938,6 +938,11 @@
>    
>        ap_child_init_hook(pchild, ap_server_conf);
>    
>   +#ifdef (PREFORK)
>   +    ap_signal(SIGHUP, just_die);
>   +    ap_signal(SIGTERM, just_die);
>   +#endif
>   +

With an #ifdef, you might not be able to use parens like that. Not sure...
Anybody know?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c

Posted by Greg Stein <gs...@lyra.org>.
D'oh!  Ignore me. I see Ryan already got this in a later checkin.

sigh...


On Thu, Jul 13, 2000 at 02:04:01PM -0700, Greg Stein wrote:
>...
> >   +#ifdef (PREFORK)
>...
> 
> With an #ifdef, you might not be able to use parens like that. Not sure...
> Anybody know?
> 
> Cheers,
> -g
> 
> -- 
> Greg Stein, http://www.lyra.org/

-- 
Greg Stein, http://www.lyra.org/

Re: cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c

Posted by rb...@covalent.net.
> >   +#ifdef (PREFORK)
> >   +    ap_signal(SIGHUP, just_die);
> >   +    ap_signal(SIGTERM, just_die);
> >   +#endif
> >   +
> 
> With an #ifdef, you might not be able to use parens like that. Not sure...
> Anybody know?

Already fixed.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------