* pex-unix.c (pex_child_error): Improve warning avoidance by
authorBen Elliston <bje@au.ibm.com>
Mon, 23 Nov 2009 04:42:14 +0000 (04:42 +0000)
committerBen Elliston <bje@au.ibm.com>
Mon, 23 Nov 2009 04:42:14 +0000 (04:42 +0000)
commitc90188f694a64cb2b97cb9db99fe0c11aaba43d6
tree932888c7956c4764f3b59ea1ea5a026d8c60bdea
parent197fa1aa2ca7f943805196c37031b44f7b87d5a7
* 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.
libiberty/ChangeLog
libiberty/pex-unix.c