Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5294187

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committedMar 26, 2025
Merge pull request #3165 from dscho/increase-allowed-length-of-interpreter-path
mingw: allow for longer paths in `parse_interpreter()`
2 parents df6ccbe + 0407fa1 commit 5294187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compat/mingw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ static const char *quote_arg_msys2(const char *arg)
14241424

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

0 commit comments

Comments
 (0)
Please sign in to comment.