Skip to content

Commit

Permalink
once more with feeling...
Browse files Browse the repository at this point in the history
  • Loading branch information
Elly Jones authored and brson committed Nov 22, 2011
1 parent 864672b commit d468af5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ fn make_dir(p: path, mode: int) -> bool {
#[cfg(target_os = "win32")]
fn mkdir(_p: path, _mode: int) -> bool {
// FIXME: turn mode into something useful?
let noctx = ptr::null();
ret str::as_buf(_p, {|buf|
os::kernel32::CreateDirectory(buf, noctx)
os::kernel32::CreateDirectory(buf, ptr::null())
});
}

Expand Down

0 comments on commit d468af5

Please sign in to comment.