stoddard    99/08/23 09:20:47

  Modified:    src/main util_script.c
  Log:
  Oh happy days. Back to the drawing board. Undoing the DETACHED_PROCESS patch.
  It breaks 16 bit CGIs and it also detaches processes spawned off of CGI 
scripts.
  
  Revision  Changes    Path
  1.145     +3 -1      apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -r1.144 -r1.145
  --- util_script.c     1999/08/12 18:34:15     1.144
  +++ util_script.c     1999/08/23 16:20:46     1.145
  @@ -1019,7 +1019,9 @@
               i++;
           }
   
  -        if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 
DETACHED_PROCESS, pEnvBlock,
  +        if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 
  +                          0,
  +                          pEnvBlock,
                             ap_make_dirstr_parent(r->pool, r->filename),
                             &si, &pi)) {
               if (fileType == eFileTypeEXE16) {
  
  
  

Reply via email to