Skip to content

Commit

Permalink
Auto merge of #42848 - ids1024:redox-fix, r=sfackler
Browse files Browse the repository at this point in the history
Fix Redox build, broken in ecbb896
  • Loading branch information
bors committed Jun 29, 2017
2 parents 0816b94 + 87f6d62 commit dc2003b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/libstd/sys/redox/net/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use sys::fs::{File, OpenOptions};
use sys::syscall::TimeSpec;
use sys_common::{AsInner, FromInner, IntoInner};
use time::Duration;
use vec::Vec;

use super::{path_to_peer_addr, path_to_local_addr};

Expand Down
4 changes: 2 additions & 2 deletions src/libstd/sys/redox/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ pub fn read2(p1: AnonPipe,
//FIXME: Use event based I/O multiplexing
//unimplemented!()

p1.read_to_end(v1)?;
p2.read_to_end(v2)?;
p1.0.read_to_end(v1)?;
p2.0.read_to_end(v2)?;

Ok(())

Expand Down

0 comments on commit dc2003b

Please sign in to comment.