dankenigsberg/cpopen — pull request #1 by nirs (2014-01-01 08:19:01+00:00)
Title: Use childErrno only if we fully read it

If reading childErrno from child process failed or the read was partial,
a bogus errno value was set and used to create an OSError. This patch
use errno value when read failed, and EIO when read from client was
partial.