auto merge of #16336 : retep998/rust/master, r=brson
Several of the tests in `make check-fast` were failing so this fixes those tests.
This commit is contained in:
commit
57630eb809
8 changed files with 50 additions and 33 deletions
|
|
@ -197,7 +197,7 @@ mod imp {
|
|||
libc::FILE_ATTRIBUTE_NORMAL,
|
||||
ptr::mut_null())
|
||||
};
|
||||
if handle as uint == libc::INVALID_HANDLE_VALUE as uint {
|
||||
if handle == libc::INVALID_HANDLE_VALUE {
|
||||
fail!("create file error: {}", os::last_os_error());
|
||||
}
|
||||
let mut overlapped: libc::OVERLAPPED = unsafe { mem::zeroed() };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue