Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jun 11, 2013
1 parent 004816f commit bbe3d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ fn spawn_process_os(prog: &str, args: &[~str],
CloseHandle(si.hStdOutput);
CloseHandle(si.hStdError);

for create_err.each |msg| {
for create_err.iter().advance |msg| {
fail!("failure in CreateProcess: %s", *msg);
}

Expand Down Expand Up @@ -589,7 +589,7 @@ pub fn make_command_line(prog: &str, args: &[~str]) -> ~str {
return cmd;

fn append_arg(cmd: &mut ~str, arg: &str) {
let quote = arg.iter().any(|c| c == ' ' || c == '\t');
let quote = arg.iter().any_(|c| c == ' ' || c == '\t');
if quote {
cmd.push_char('"');
}
Expand Down

5 comments on commit bbe3d4a

@bors
Copy link
Contributor

@bors bors commented on bbe3d4a Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on bbe3d4a Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/iterator = bbe3d4a into auto

@bors
Copy link
Contributor

@bors bors commented on bbe3d4a Jun 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/iterator = bbe3d4a merged ok, testing candidate = 3f900dc

@bors
Copy link
Contributor

@bors bors commented on bbe3d4a Jun 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on bbe3d4a Jun 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 3f900dc

Please sign in to comment.