Skip to content

Commit 72873ea

Browse files
committed
fixup! Add config option windows.appendAtomically
1 parent e684f40 commit 72873ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ ssize_t mingw_write(int fd, const void *buf, size_t len)
948948
if (GetFileType(h) == FILE_TYPE_PIPE)
949949
errno = EPIPE;
950950
else {
951-
wchar_t path[MAX_PATH];
951+
wchar_t path[MAX_LONG_PATH];
952952
DWORD ret = GetFinalPathNameByHandleW(h, path,
953953
ARRAY_SIZE(path), 0);
954954
UINT drive_type = ret > 0 && ret < ARRAY_SIZE(path) ?

0 commit comments

Comments
 (0)