apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/misc/unix otherchild.c
Date Mon, 24 Feb 2003 23:23:49 GMT
wrowe       2003/02/24 15:23:49

  Modified:    misc/unix otherchild.c
  Log:
  This is what Unix does, but I'm revisiting the entire ->hproc
  issue in a few minutes.  At least start out in the same place.
  
  Revision  Changes    Path
  1.33      +4 -2      apr/misc/unix/otherchild.c
  
  Index: otherchild.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/otherchild.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- otherchild.c	24 Feb 2003 21:28:34 -0000	1.32
  +++ otherchild.c	24 Feb 2003 23:23:49 -0000	1.33
  @@ -169,8 +169,10 @@
           return;
   
       if (!ocr->proc->hproc) {
  -        /* Already mopped up, perhaps we apr_proc_kill'ed it */
  -        (*ocr->maintenance) (APR_OC_REASON_DEATH, ocr->data, -1);
  +        /* Already mopped up, perhaps we apr_proc_kill'ed it,
  +         * they should have already unregistered!
  +         */
  +        (*ocr->maintenance) (APR_OC_REASON_LOST, ocr->data, -1);
       }
       else if (!GetExitCodeProcess(ocr->proc->hproc, &status)) {
           CloseHandle(ocr->proc->hproc);
  
  
  

Mime
View raw message