once more with feeling...

This commit is contained in:
Elly Jones 2011-11-09 22:10:04 -05:00 committed by Brian Anderson
parent 864672bb84
commit d468af59ed

View File

@ -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())
});
}