Skip to content

Commit 0058ac0

Browse files
committed
fixup! mingw: support long paths
In 4d3d891 (squash! Win32: add a cache below mingw's lstat and dirent implementations, 2013-10-01), we adjusted the FSCache feature to accommodate for the `en/fill-directory-fixes` patches, which insist on POSIX-like semantics where `struct dirent`'s `name` entry must be a `char` array and cannot be a `char` pointer. However, when squashing this adjustment into the appropriate patch during the nex rebase (which resulted in 1fcade1 (mingw: add a cache below mingw's lstat and dirent implementations, 2013-10-01)), this developer failed to split out the `MAX_LONG_PATH` part into the appropriate patch but by mistake dropped it instead. This patch fixes that, addressing #2494. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 89a5bbf commit 0058ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/fscache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct fsentry {
7373

7474
struct heap_fsentry {
7575
struct fsentry ent;
76-
char dummy[MAX_PATH];
76+
char dummy[MAX_LONG_PATH];
7777
};
7878

7979
/*

0 commit comments

Comments
 (0)