You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2003/02/25 00:23:49 UTC

cvs commit: apr/misc/unix otherchild.c

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);