Skip to content

Commit decda93

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Merge pull request #3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents 0e1fcba + 6247243 commit decda93

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

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

0 commit comments

Comments
 (0)