Skip to content

Commit 94e5ab6

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 d0e0acf + 446eca4 commit 94e5ab6

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

14241424
static const char *parse_interpreter(const char *cmd)
14251425
{
1426-
static char buf[100];
1426+
static char buf[MAX_PATH];
14271427
char *p, *opt;
14281428
ssize_t n; /* read() can return negative values */
14291429
int fd;

0 commit comments

Comments
 (0)