Report success when Windows kill() emulation signals an exiting process.

Noah Misch <noah@leadboat.com>

Commit: 62f84f1de2d048bacbfadc77d7064d17057aeed5
Author: Noah Misch <noah@leadboat.com>
Date: 2014-07-23T04:36:52Z
Releases: 9.0.19
Report success when Windows kill() emulation signals an exiting process.

This is consistent with the POSIX verdict that kill() shall not report
ESRCH for a zombie process.  Back-patch to 9.0 (all supported versions).
Test code from commit d7cdf6ee36adeac9233678fb8f2a112e6678a770 depends
on it, and log messages about kill() reporting "Invalid argument" will
cease to appear for this not-unexpected condition.

Files

PathChange+/−
src/port/kill.c modified +22 −7