Skip to content

Commit 7624ff7

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request #3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents 53f6457 + 5783a81 commit 7624ff7

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

13221322
static const char *parse_interpreter(const char *cmd)
13231323
{
1324-
static char buf[100];
1324+
static char buf[MAX_PATH];
13251325
char *p, *opt;
13261326
int n, fd;
13271327

0 commit comments

Comments
 (0)