mirror of
https://github.com/uutils/coreutils
synced 2024-09-06 07:54:05 +00:00
std::rt::io -> std::io
This commit is contained in:
parent
074b375034
commit
25297ec2b3
|
@ -15,7 +15,7 @@
|
|||
extern mod extra;
|
||||
|
||||
use std::os;
|
||||
use std::rt::io::{stdin, stderr, stdout, File, result};
|
||||
use std::io::{stdin, stderr, stdout, File, result};
|
||||
use extra::getopts::groups;
|
||||
|
||||
fn main() {
|
||||
|
|
2
env/env.rs
vendored
2
env/env.rs
vendored
|
@ -192,7 +192,7 @@ fn main() {
|
|||
[ref prog, ..args] => {
|
||||
let exit = std::run::process_status(prog.as_slice(), args.as_slice());
|
||||
match exit {
|
||||
std::rt::io::process::ExitStatus(status) => std::os::set_exit_status(status),
|
||||
std::io::process::ExitStatus(status) => std::os::set_exit_status(status),
|
||||
_ => std::os::set_exit_status(1)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern mod extra;
|
||||
|
||||
use std::os;
|
||||
use std::rt::io::stderr;
|
||||
use std::io::stderr;
|
||||
use extra::getopts::groups;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -29,7 +29,6 @@ extern {
|
|||
}
|
||||
|
||||
#[fixed_stack_segment]
|
||||
#[deny(cstack)]
|
||||
unsafe fn getusername() -> ~str {
|
||||
let passwd: *c_passwd = getpwuid(geteuid());
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern mod extra;
|
||||
|
||||
use std::os;
|
||||
use std::rt::io::stderr;
|
||||
use std::io::stderr;
|
||||
use extra::getopts::groups;
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue