OSDN Git Service

* pex-unix.c (pex_child_error): Improve warning avoidance by
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 04:42:32 +0000 (04:42 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 04:42:32 +0000 (04:42 +0000)
commit01401934e56c424a09999977bdce54b2db33e929
tree4de5ac8ddb846000f3be54cbd7905854fe6a78e7
parent4fb89a65e80877a98409db4d64588e3c55b42df3
* 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 negative value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154431 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/pex-unix.c