OSDN Git Service

* pex-unix.c (pex_child_error): Improve warning avoidance by
authorbje <bje>
Mon, 23 Nov 2009 04:42:14 +0000 (04:42 +0000)
committerbje <bje>
Mon, 23 Nov 2009 04:42:14 +0000 (04:42 +0000)
commitedc97df80f84c702397001b720f56bf119b7d4e3
tree472bcc51c13d545a241a830e832904c343671317
parentb3ce6827c8a528957b700e1e285cdad6ae785e7b
* 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