Skip to content

Commit ae49c84

Browse files
committed
fixup! mingw: support long paths
Let's allow long paths in the FSMonitor daemon, too. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6f50cde commit ae49c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/fsmonitor/fsmonitor-fs-listen-win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static struct one_watch *create_watch(struct fsmonitor_daemon_state *state,
111111
DWORD share_mode =
112112
FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE;
113113
HANDLE hDir;
114-
wchar_t wpath[MAX_PATH];
114+
wchar_t wpath[MAX_LONG_PATH];
115115

116116
if (xutftowcs_long_path(wpath, path) < 0) {
117117
error(_("could not convert to wide characters: '%s'"), path);

0 commit comments

Comments
 (0)