ficoos/cpopen — pull request #18 by nirs (2014-01-02 21:03:22+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.