git/compat
Johannes Schindelin d2dc2fd688 mingw_open_existing: handle directories better (#5342)
[`CreateFileW()` requires `FILE_FLAG_BACKUP_SEMANTICS` to create a
directory
handle](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew#directories)
and errors out with `ERROR_ACCESS_DENIED` without this flag. Fall back
to accessing Directory handles this way.

This fixes https://github.com/git-for-windows/git/issues/5068
2025-03-05 12:58:55 +01:00
..
2024-10-25 14:02:04 -04:00
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00