In this code, a Unix-style signum|exitcode|bits is passed to the
maintenance function from within apr_proc_other_child_refresh().

   waitret = waitpid(ocr->proc->pid, &status, WNOHANG);
   if (waitret == ocr->proc->pid) {
       ocr->proc = NULL;
       (*ocr->maintenance) (APR_OC_REASON_DEATH, ocr->data, status);
   }

But for other calls to the maintenance function with
APR_OC_REASON_DEATH we expect that a signum_or_exitcode is passed to
the maintenance function (API breakage mentioned separately via
http://svn.apache.org/viewvc?view=rev&revision=499417).  It doesn't
make sense to pass a Unix-style status here.

Thoughts?

Reply via email to