Skip to content

Commit 2b69063

Browse files
committed
---
yaml --- r: 14608 b: refs/heads/try c: 5812beb h: refs/heads/master v: v3
1 parent 6fdcef2 commit 2b69063

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: dafd6498063231e2ab01575a949fcb067c404c04
5+
refs/heads/try: 5812bebf87c536e4106c68802ee1571bbb49fa18
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libcore/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn dll_filename(base: str) -> str {
144144

145145
fn self_exe_path() -> option<path> unsafe {
146146
let bufsize = 1023u;
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));
148148
// FIXME: This does not handle the case where the buffer is too small
149149
ret vec::as_mut_buf(buf) {|pbuf|
150150
if load_self(pbuf as *mutable c_char, bufsize as c_uint) {

0 commit comments

Comments
 (0)