Skip to content

Commit 4e51ecb

Browse files
committed
ocamlmerlin.c: we're going to need a bigger buffer
1 parent 0528a34 commit 4e51ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/ocamlmerlin/ocamlmerlin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ static int connect_socket(const char *socketname, bool fail)
336336
#ifdef _WIN32
337337
static void start_server(const char *socketname, const char* eventname, const char *exec_path)
338338
{
339-
char buf[PATHSZ], lpSystemDir[PATHSZ];
339+
char buf[32767], lpSystemDir[PATHSZ];
340340
PROCESS_INFORMATION pi;
341341
STARTUPINFO si;
342342
HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, eventname);

0 commit comments

Comments
 (0)