Skip to content

Commit 44f54e3

Browse files
committed
---
yaml --- r: 22167 b: refs/heads/snap-stage3 c: 9b64d71 h: refs/heads/master i: 22165: f9c9df1 22163: 010735f 22159: 605746b v: v3
1 parent 1088b50 commit 44f54e3

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,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: ad951b5976ce4205874b366f8cc2b8810b08d450
4+
refs/heads/snap-stage3: 9b64d71848c2121e7ceac00de24a624d63c2dad4
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)