Rollup merge of #88053 - bjorn3:fix_flock_fallback_impl, r=cjgillot

Fix the flock fallback implementation
This commit is contained in:
Mara Bos 2021-09-01 09:23:25 +02:00 committed by GitHub
commit 8fd53e3085
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
}
}
}
}