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 Tue, 25 Feb 2003 01:11:10 GMT
wrowe       2003/02/24 17:11:10

  Modified:    misc/unix otherchild.c
  Log:
    If we no longer have proc->hproc, the proc itself is now useless.
  
  Revision  Changes    Path
  1.34      +2 -0      apr/misc/unix/otherchild.c
  
  Index: otherchild.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/otherchild.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- otherchild.c	24 Feb 2003 23:23:49 -0000	1.33
  +++ otherchild.c	25 Feb 2003 01:11:10 -0000	1.34
  @@ -172,10 +172,12 @@
           /* Already mopped up, perhaps we apr_proc_kill'ed it,
            * they should have already unregistered!
            */
  +        ocr->proc = NULL;
           (*ocr->maintenance) (APR_OC_REASON_LOST, ocr->data, -1);
       }
       else if (!GetExitCodeProcess(ocr->proc->hproc, &status)) {
           CloseHandle(ocr->proc->hproc);
  +        ocr->proc->hproc = NULL;
           ocr->proc = NULL;
           (*ocr->maintenance) (APR_OC_REASON_LOST, ocr->data, -1);
       }
  
  
  

Mime
View raw message