Skip to content

Commit 498d4da

Browse files
committed
Merge pull request #3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents 19227a3 + 589c2ed commit 498d4da

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

13581358
static const char *parse_interpreter(const char *cmd)
13591359
{
1360-
static char buf[100];
1360+
static char buf[MAX_PATH];
13611361
char *p, *opt;
13621362
int n, fd;
13631363

0 commit comments

Comments
 (0)