Skip to content

Commit 9696649

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 7bdb0fd + 86236dc commit 9696649

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

14491449
static const char *parse_interpreter(const char *cmd)
14501450
{
1451-
static char buf[100];
1451+
static char buf[MAX_PATH];
14521452
char *p, *opt;
14531453
ssize_t n; /* read() can return negative values */
14541454
int fd;

0 commit comments

Comments
 (0)