Skip to content

Commit eb22967

Browse files
dschomjcheetham
authored andcommitted
Merge pull request #3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents 635a7b2 + 397a219 commit eb22967

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
@@ -1354,7 +1354,7 @@ static const char *quote_arg_msys2(const char *arg)
13541354

13551355
static const char *parse_interpreter(const char *cmd)
13561356
{
1357-
static char buf[100];
1357+
static char buf[MAX_PATH];
13581358
char *p, *opt;
13591359
int n, fd;
13601360

0 commit comments

Comments
 (0)