]> git.lizzy.rs Git - rust.git/commit
auto merge of #14781 : alexcrichton/rust/issue-14724, r=brson
authorbors <bors@rust-lang.org>
Mon, 16 Jun 2014 20:36:41 +0000 (20:36 +0000)
committerbors <bors@rust-lang.org>
Mon, 16 Jun 2014 20:36:41 +0000 (20:36 +0000)
commitb755b4db4b30f4ab9fe7ddcbea8ee8d54fd4cd9e
tree461aa1485216741c6bab0a23ebc340586394d1d7
parent0973eb4419d0598c1134106adef2ee8dc2a2b5ff
parent04eced750e78770e16354c07fddf7ecaaab6ef43
auto merge of #14781 : alexcrichton/rust/issue-14724, r=brson

* os::pipe() now returns `IoResult<os::Pipe>`
* os::pipe() is now unsafe because it does not arrange for deallocation of file
  descriptors
* PipeStream::pair() has been added. This is a safe method to get a pair of
  pipes.
* Dealing with pipes in native process bindings have been improved to be more
  robust in the face of failure and intermittent errors. This converts a few
  fail!() situations to Err situations.

cc #13538
Closes #14724
[breaking-change]