Test fixes and rebase conflicts, round 2
This commit is contained in:
parent
554946c81e
commit
30532884f8
15 changed files with 80 additions and 91 deletions
|
|
@ -195,8 +195,8 @@ mod imp {
|
|||
|
||||
impl Lock {
|
||||
pub fn new(p: &Path) -> Lock {
|
||||
let p: &OsStr = p.as_ref();
|
||||
let mut p_16: Vec<_> = p.encode_wide().collect();
|
||||
let os: &OsStr = p.as_ref();
|
||||
let mut p_16: Vec<_> = os.encode_wide().collect();
|
||||
p_16.push(0);
|
||||
let handle = unsafe {
|
||||
libc::CreateFileW(p_16.as_ptr(),
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#![feature(box_patterns)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(collections)]
|
||||
#![feature(core)]
|
||||
#![feature(exit_status)]
|
||||
#![feature(set_stdio)]
|
||||
#![feature(libc)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue