File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: dafd6498063231e2ab01575a949fcb067c404c04
2
+ refs/heads/master: 5812bebf87c536e4106c68802ee1571bbb49fa18
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ fn dll_filename(base: str) -> str {
144
144
145
145
fn self_exe_path ( ) -> option < path > unsafe {
146
146
let bufsize = 1023 u;
147
- let buf = vec:: init_elt_mut ( bufsize, 0u8 as c_char ) ;
147
+ let buf = vec:: to_mut ( vec :: init_elt ( bufsize, 0u8 as c_char ) ) ;
148
148
// FIXME: This does not handle the case where the buffer is too small
149
149
ret vec:: as_mut_buf ( buf) { |pbuf|
150
150
if load_self ( pbuf as * mutable c_char , bufsize as c_uint ) {
You can’t perform that action at this time.
0 commit comments