File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
branches/snap-stage3/src/libcore Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 396f9119256c7f675bd6cc58aaa4defb36c09760
4
+ refs/heads/snap-stage3: 28e8542c549a3f1d8b672a0398869472ccd2e780
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ pub fn self_exe_path() -> Option<Path> {
374
374
let mib = ~[ CTL_KERN as c_int ,
375
375
KERN_PROC as c_int ,
376
376
KERN_PROC_PATHNAME as c_int , -1 as c_int ] ;
377
+ let mut sz = sz;
377
378
sysctl ( vec:: raw:: to_ptr ( mib) , vec:: len ( mib) as c_uint ,
378
379
buf as * mut c_void , & mut sz, ptr:: null ( ) ,
379
380
0 u as size_t ) == ( 0 as c_int )
You can’t perform that action at this time.
0 commit comments