Skip to content

Commit 234f30f

Browse files
committed
---
yaml --- r: 46380 b: refs/heads/auto c: 28e8542 h: refs/heads/master v: v3
1 parent 7e2cf14 commit 234f30f

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: 396f9119256c7f675bd6cc58aaa4defb36c09760
17+
refs/heads/auto: 28e8542c549a3f1d8b672a0398869472ccd2e780

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)