Skip to content

Commit d468af5

Browse files
Elly Jonesbrson
authored andcommitted
once more with feeling...
1 parent 864672b commit d468af5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/fs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ fn make_dir(p: path, mode: int) -> bool {
127127
#[cfg(target_os = "win32")]
128128
fn mkdir(_p: path, _mode: int) -> bool {
129129
// FIXME: turn mode into something useful?
130-
let noctx = ptr::null();
131130
ret str::as_buf(_p, {|buf|
132-
os::kernel32::CreateDirectory(buf, noctx)
131+
os::kernel32::CreateDirectory(buf, ptr::null())
133132
});
134133
}
135134

0 commit comments

Comments
 (0)