once more with feeling...
This commit is contained in:
parent
864672bb84
commit
d468af59ed
@ -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())
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user