Skip to content

Commit 2339950

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request git-for-windows#3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents 54430ab + 3a305f1 commit 2339950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compat/mingw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ static const char *quote_arg_msys2(const char *arg)
17531753

17541754
static const char *parse_interpreter(const char *cmd)
17551755
{
1756-
static char buf[100];
1756+
static char buf[MAX_PATH];
17571757
char *p, *opt;
17581758
ssize_t n; /* read() can return negative values */
17591759
int fd;

0 commit comments

Comments
 (0)