Skip to content

Commit 3620518

Browse files
committed
---
yaml --- r: 46375 b: refs/heads/auto c: dc30cc3 h: refs/heads/master i: 46373: a9012e4 46371: 12982b8 46367: fa99e62 v: v3
1 parent 2fcb458 commit 3620518

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 6351515d98d4d79500eac021bd573fbbd586bb24
17+
refs/heads/auto: dc30cc356b2f6a75a3313be564927d2a74718f07

branches/auto/src/libcore/os.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ pub fn self_exe_path() -> Option<Path> {
374374
let mib = ~[CTL_KERN as c_int,
375375
KERN_PROC as c_int,
376376
KERN_PROC_PATHNAME as c_int, -1 as c_int];
377+
let mut sz = sz;
377378
sysctl(vec::raw::to_ptr(mib), vec::len(mib) as c_uint,
378379
buf as *mut c_void, &mut sz, ptr::null(),
379380
0u as size_t) == (0 as c_int)

0 commit comments

Comments
 (0)