mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-31 02:17:14 -05:00
fixup! mingw: support long paths (#5550)
When rebasingc8b6c1db91(mingw: support long paths, 2015-07-28) on top of391bceae43(compat/mingw: support POSIX semantics for atomic renames, 2024-10-27) a newly introduced MAX_PATH buffer was not increased to MAX_LONG_PATH. This fixes https://github.com/git-for-windows/git/issues/5476
This commit is contained in:
@@ -2857,9 +2857,9 @@ repeat:
|
||||
* flex array so that the structure has to be allocated on
|
||||
* the heap. As we declare this structure ourselves though
|
||||
* we can avoid the allocation and define FileName to have
|
||||
* MAX_PATH bytes.
|
||||
* MAX_LONG_PATH bytes.
|
||||
*/
|
||||
WCHAR FileName[MAX_PATH];
|
||||
WCHAR FileName[MAX_LONG_PATH];
|
||||
} rename_info = { 0 };
|
||||
HANDLE old_handle = INVALID_HANDLE_VALUE;
|
||||
BOOL success;
|
||||
|
||||
Reference in New Issue
Block a user