mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-13 20:49:08 +08:00
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: f6b56abec186 ("Cygwin: try to avoid recalling offline files") Reported-by: Bruce Jerrick <bmj001@gmail.com> Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
7 lines
207 B
Groff
7 lines
207 B
Groff
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
|