File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ use cast;
30
30
use io;
31
31
use libc;
32
32
use libc:: { c_char, c_void, c_int, size_t} ;
33
- use libc:: { mode_t, pid_t , FILE } ;
33
+ use libc:: { mode_t, FILE } ;
34
34
use option;
35
35
use option:: { Some , None } ;
36
36
use prelude:: * ;
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ use option::{Some, None};
18
18
use os;
19
19
use prelude:: * ;
20
20
use ptr;
21
- use run;
22
21
use str;
23
22
use task;
24
23
use vec;
@@ -377,7 +376,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> @Program {
377
376
fn force_destroy ( & mut self ) { destroy_repr ( & mut self . r , true ) ; }
378
377
}
379
378
380
- let mut repr = ProgRepr {
379
+ let repr = ProgRepr {
381
380
pid : res. pid ,
382
381
handle : res. handle ,
383
382
in_fd : pipe_input. out ,
You can’t perform that action at this time.
0 commit comments