You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2000/11/03 05:45:50 UTC

RE: cvs commit: apache-2.0/src/modules/mpm/winnt service.c

Of course, this needs docs in htdocs/manual/windows.html ... 
John, would you provide the appropriate patch for that as well?
[Feel free to glob out every bit of "up through 1.3.7"...  There's
only one release we are concerned about in the 2.0 docs tree :-]

> -----Original Message-----
> From: wrowe@locus.apache.org [mailto:wrowe@locus.apache.org]
> Sent: Thursday, November 02, 2000 10:40 PM
> To: apache-2.0-cvs@apache.org
> Subject: cvs commit: apache-2.0/src/modules/mpm/winnt service.c
> 
> 
> wrowe       00/11/02 20:39:42
> 
>   Modified:    src/modules/mpm/winnt service.c
>   Log:
>     John's patches to provide depreciated messages for the -i and -u
>     options (now -k install|uninstall), and best yet, restart 
> the console
>     mode server on Ctrl+Break (Ctrl+C still stops it.)
>     At least this is the second half - sorry I missed a bit.
>   
>   Submitted by:	John Sterling <st...@covalent.net>
>   Reviewed by:	William Rowe
>   
>   Revision  Changes    Path
>   1.25      +4 -1      apache-2.0/src/modules/mpm/winnt/service.c
>   
>   Index: service.c
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/service.c,v
>   retrieving revision 1.24
>   retrieving revision 1.25
>   diff -u -r1.24 -r1.25
>   --- service.c	2000/10/06 17:24:42	1.24
>   +++ service.c	2000/11/03 04:39:41	1.25
>   @@ -285,8 +285,11 @@
>    {
>        switch (ctrl_type)
>        {
>   -        case CTRL_C_EVENT:
>            case CTRL_BREAK_EVENT:
>   +            fprintf(stderr, "Apache server restarting...\n");
>   +            signal_parent(1);
>   +            return TRUE;
>   +        case CTRL_C_EVENT:
>                fprintf(stderr, "Apache server interrupted...\n");
>                /* for Interrupt signals, shut down the server.
>                 * Tell the system we have dealt with the signal
>   
>   
>   
>