Test fixes and rebase conflicts, round 2
This commit is contained in:
parent
554946c81e
commit
30532884f8
15 changed files with 80 additions and 91 deletions
|
|
@ -135,13 +135,6 @@ impl FileDesc {
|
|||
_ => Err(super::last_error()),
|
||||
}
|
||||
}
|
||||
|
||||
/// Extract the actual filedescriptor without closing it.
|
||||
pub fn unwrap(self) -> fd_t {
|
||||
let fd = self.fd;
|
||||
unsafe { mem::forget(self) };
|
||||
fd
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for FileDesc {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ use old_io::process::{ProcessExit, ExitStatus};
|
|||
use old_io::{IoResult, IoError};
|
||||
use old_io;
|
||||
use fs::PathExt;
|
||||
use os;
|
||||
use old_path::{BytesContainer, GenericPath};
|
||||
use ptr;
|
||||
use str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue