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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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