Skip to content

Commit

Permalink
core: Fix BSD breakage, I hope
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Feb 19, 2013
1 parent 6351515 commit dc30cc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ pub fn self_exe_path() -> Option<Path> {
let mib = ~[CTL_KERN as c_int,
KERN_PROC as c_int,
KERN_PROC_PATHNAME as c_int, -1 as c_int];
let mut sz = sz;
sysctl(vec::raw::to_ptr(mib), vec::len(mib) as c_uint,
buf as *mut c_void, &mut sz, ptr::null(),
0u as size_t) == (0 as c_int)
Expand Down

5 comments on commit dc30cc3

@bors
Copy link
Contributor

@bors bors commented on dc30cc3 Feb 19, 2013

Choose a reason for hiding this comment

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

saw approval from catamorphism
at catamorphism@dc30cc3

@bors
Copy link
Contributor

@bors bors commented on dc30cc3 Feb 19, 2013

Choose a reason for hiding this comment

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

merging catamorphism/rust/bsd-breakage = dc30cc3 into auto

@bors
Copy link
Contributor

@bors bors commented on dc30cc3 Feb 19, 2013

Choose a reason for hiding this comment

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

catamorphism/rust/bsd-breakage = dc30cc3 merged ok, testing candidate = 28e8542

@bors
Copy link
Contributor

@bors bors commented on dc30cc3 Feb 19, 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 dc30cc3 Feb 19, 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 = 28e8542

Please sign in to comment.