Fix the flock fallback implementation
This commit is contained in:
parent
58d685ecb3
commit
21f07b55df
1 changed files with 4 additions and 0 deletions
|
@ -222,6 +222,10 @@ cfg_if! {
|
|||
let msg = "file locks not supported on this platform";
|
||||
Err(io::Error::new(io::ErrorKind::Other, msg))
|
||||
}
|
||||
|
||||
pub fn error_unsupported(_err: &io::Error) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue