Skip to content

Commit

Permalink
fixup! mingw: support long paths
Browse files Browse the repository at this point in the history
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 <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Feb 10, 2020
1 parent 89a5bbf commit 0058ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/win32/fscache.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct fsentry {

struct heap_fsentry {
struct fsentry ent;
char dummy[MAX_PATH];
char dummy[MAX_LONG_PATH];
};

/*
Expand Down

0 comments on commit 0058ac0

Please sign in to comment.