Report success when Windows kill() emulation signals an exiting process.
authorNoah Misch <[email protected]>
Wed, 23 Jul 2014 04:35:13 +0000 (00:35 -0400)
committerNoah Misch <[email protected]>
Wed, 23 Jul 2014 04:36:45 +0000 (00:36 -0400)
commit748da01d392f120c02460838a015cdd8193ed397
tree44555cb3b3bd0afd3724c7ce677b54715d254666
parent98d3a7b97e5221b6ca43cb4de07000675f207b00
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.
src/port/kill.c