httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/threadproc/os2 proc.c
Date Tue, 26 Oct 1999 15:16:57 GMT
bjh         99/10/26 08:16:56

  Modified:    src/lib/apr/threadproc/os2 proc.c
  Log:
  OS/2: Put support for detached processes back into ap_create_process(),
  removed by previous change.
  
  Revision  Changes    Path
  1.9       +4 -1      apache-2.0/src/lib/apr/threadproc/os2/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/proc.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- proc.c	1999/10/26 15:07:31	1.8
  +++ proc.c	1999/10/26 15:16:56	1.9
  @@ -363,7 +363,10 @@
   
       *env_block_pos = 0; /* environment block is terminated by a double null */
   
  -    status = DosExecPgm(error_object, sizeof(error_object), EXEC_ASYNC, cmdline, env_block,
&rescodes, cmdline);
  +    status = DosExecPgm(error_object, sizeof(error_object), 
  +                        attr->detached ? EXEC_BACKGROUND : EXEC_ASYNC, 
  +                        cmdline, env_block, &rescodes, cmdline);
  +
       (*new)->pid = rescodes.codeTerminate;
   
       if (attr->currdir != NULL) {
  
  
  

Mime
View raw message