Skip to content

Commit ef622fd

Browse files
committed
---
yaml --- r: 24275 b: refs/heads/master c: 9b64d71 h: refs/heads/master i: 24273: f509bac 24271: 1fa948e v: v3
1 parent e133089 commit ef622fd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ad951b5976ce4205874b366f8cc2b8810b08d450
2+
refs/heads/master: 9b64d71848c2121e7ceac00de24a624d63c2dad4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/os.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,13 @@ pub fn make_dir(p: &Path, mode: c_int) -> bool {
554554

555555
#[cfg(windows)]
556556
fn mkdir(p: &Path, _mode: c_int) -> bool {
557+
use win32::*;
557558
// FIXME: turn mode into something useful? #2623
558559
do as_utf16_p(p.to_str()) |buf| {
559560
libc::CreateDirectoryW(buf, unsafe {
560561
cast::reinterpret_cast(&0)
561562
})
562-
!= (0 as BOOL)
563+
!= (0 as libc::BOOL)
563564
}
564565
}
565566

0 commit comments

Comments
 (0)