8 pub fn new(_p: &Path, _wait: bool, _create: bool, _exclusive: bool) -> io::Result<Lock> {
9 let msg = "file locks not supported on this platform";
10 Err(io::Error::new(io::ErrorKind::Other, msg))
13 pub fn error_unsupported(_err: &io::Error) -> bool {