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 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: dafd6498063231e2ab01575a949fcb067c404c04
5
+ refs/heads/try: 5812bebf87c536e4106c68802ee1571bbb49fa18
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
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