Attached is a slightly less-intrusive version of the patch. It omits the removal of "#ifdef SIGCHLD", which isn't strictly needed to fix the bug. I don't see any further simplifications, unfortunately. The patch fixes a bug that's been reported multiple times so I'm thinking it may be worthwhile to install now, even though there's a feature freeze.