Fix the flock fallback implementation

This commit is contained in:
bjorn3
2021-08-15 18:44:06 +02:00
committed by GitHub
parent 58d685ecb3
commit 21f07b55df

View File

@@ -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
}
}
}
}