httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
Date Mon, 11 Feb 2002 20:32:04 GMT
wrowe       02/02/11 12:32:04

  Modified:    server/mpm/winnt mpm_winnt.c
  Log:
    Never close the handle, if it is the StdError psuedohandle.
  
  Revision  Changes    Path
  1.233     +3 -1      httpd-2.0/server/mpm/winnt/mpm_winnt.c
  
  Index: mpm_winnt.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
  retrieving revision 1.232
  retrieving revision 1.233
  diff -u -r1.232 -r1.233
  --- mpm_winnt.c	11 Feb 2002 15:46:44 -0000	1.232
  +++ mpm_winnt.c	11 Feb 2002 20:32:04 -0000	1.233
  @@ -1537,7 +1537,9 @@
           CloseHandle(hPipeWrite);
           CloseHandle(hPipeRead);
           CloseHandle(hNullOutput);
  -        CloseHandle(hShareError);
  +        if (GetStdHandle(STD_ERROR_HANDLE) != hShareError) {
  +            CloseHandle(hShareError);
  +        }
           return -1;
       }
       
  
  
  

Mime
View raw message