From cvs-return-4796-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Mon Feb 24 23:23:50 2003 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 76385 invoked by uid 500); 24 Feb 2003 23:23:50 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 76352 invoked from network); 24 Feb 2003 23:23:50 -0000 Date: 24 Feb 2003 23:23:49 -0000 Message-ID: <20030224232349.29562.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/misc/unix otherchild.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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);