Skip to content

Commit c3fc13e

Browse files
committed
---
yaml --- r: 28590 b: refs/heads/try c: da568ba h: refs/heads/master v: v3
1 parent 08d1247 commit c3fc13e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 53abb5edbd2079fdcc1c2887cf0a89aad75d6ea1
5+
refs/heads/try: da568baea923f53a85eeb728f79000454666cbb8
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/src/libcore/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ fn make_dir(p: &Path, mode: c_int) -> bool {
597597
use win32::*;
598598
// FIXME: turn mode into something useful? #2623
599599
do as_utf16_p(p.to_str()) |buf| {
600-
CreateDirectoryW(buf, unsafe { unsafe::reinterpret_cast(&0) })
600+
CreateDirectoryW(buf, unsafe { cast::reinterpret_cast(&0) })
601601
!= (0 as BOOL)
602602
}
603603
}

branches/try/src/libcore/run.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ fn with_envp<T>(env: &Option<~[(~str,~str)]>,
133133
for vec::each(es) |e| {
134134
let (k,v) = e;
135135
let t = fmt!("%s=%s", k, v);
136-
let mut v : ~[u8] = ::unsafe::reinterpret_cast(&t);
136+
let mut v : ~[u8] = ::cast::reinterpret_cast(&t);
137137
blk += v;
138-
::unsafe::forget(v);
138+
::cast::forget(v);
139139
}
140140
blk += ~[0_u8];
141-
vec::as_imm_buf(blk, |p, _len| cb(::unsafe::reinterpret_cast(&p)))
141+
vec::as_imm_buf(blk, |p, _len| cb(::cast::reinterpret_cast(&p)))
142142
}
143143
_ => cb(ptr::null())
144144
}

0 commit comments

Comments
 (0)