httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/os/win32 service.c
Date Sat, 17 Feb 2001 06:04:25 GMT
wrowe       01/02/16 22:04:25

  Modified:    src/os/win32 service.c
  Log:
    Very obscure bug; once installed or configured with -w argument, any
    error stopping and uninstalling the Apache/Win32 service always prompts
    the user to press escape, even if the stop or uninstall command didn't
    specify the -w argument.  This is the fix.
  
  Reported by:	Ryan Gilfillan <rgilfill@covalent.net>
  
  Revision  Changes    Path
  1.43      +2 -2      apache-1.3/src/os/win32/service.c
  
  Index: service.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/win32/service.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- service.c	2001/02/14 14:22:11	1.42
  +++ service.c	2001/02/17 06:04:25	1.43
  @@ -708,8 +708,8 @@
       while (++argv, --argc) {
           if ((**argv == '-') && strchr("kndf", argv[0][1]))
               --argc, ++argv; /* Skip already handled -k -n -d -f options */
  -        else if ((**argv != '-') || !strchr("iu", argv[0][1]))
  -            *(newelem++) = *argv, ++regargc;  /* Ignoring -i -u options */
  +        else if ((**argv != '-') || !strchr("iuw", argv[0][1]))
  +            *(newelem++) = *argv, ++regargc;  /* Ignoring -i -u -w options */
       }
   
       printf(reconfig ? "Reconfiguring the %s service\n"
  
  
  

Mime
View raw message