Whoops, forgot the ChangeLog entry:
2009-11-23 Ben Elliston <bje@au.ibm.com>
Ian Lance Taylor <iant@google.com>
* pex-unix.c (pex_child_error): Improve warning avoidance by
checking the results of write(3) and exiting with -2 if any write
returns a non-zero value.