Browse Source
If FILE_DIRECTORY_FILE is given, FILE_OPEN_NO_RECALL is not allowed,
otherwise NtCreateFile returns STATUS_INVALID_PARAMETER.
Drop FILE_OPEN_NO_RECALL where FILE_DIRECTORY_FILE is specified.
Fixes: f6b56abec1 ("Cygwin: try to avoid recalling offline files")
Reported-by: Bruce Jerrick <bmj001@gmail.com>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
master
3 changed files with 6 additions and 3 deletions
@ -0,0 +1,6 @@ |
|||
Fixes: |
|||
------ |
|||
|
|||
- Fix regression in 3.5.3 which fails to open files for stat(2) if the |
|||
file is opened exclusively by another process. |
|||
Addresses: https://cygwin.com/pipermail/cygwin/2024-April/255811.html |
|||
Loading…
Reference in new issue