]> git.ipfire.org Git - thirdparty/gcc.git/commit
pex-unix.c (pex_child_error): Improve warning avoidance by checking the results of...
authorBen Elliston <bje@au.ibm.com>
Mon, 23 Nov 2009 04:42:32 +0000 (04:42 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Mon, 23 Nov 2009 04:42:32 +0000 (15:42 +1100)
commit5120dc389fd149dda37c77d84ffb743e03d285ab
tree4de5ac8ddb846000f3be54cbd7905854fe6a78e7
parent5154a159dfdf5d7ac7bc3ac9ba5d93e514d51672
pex-unix.c (pex_child_error): Improve warning avoidance by checking the results of write(3) and exiting with...

* 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.

Co-Authored-By: Ian Lance Taylor <iant@google.com>
From-SVN: r154431
libiberty/ChangeLog
libiberty/pex-unix.c