File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
branches/auto/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 @@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 396f9119256c7f675bd6cc58aaa4defb36c09760
17
+ refs/heads/auto: 28e8542c549a3f1d8b672a0398869472ccd2e780
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