From 3e2a115c73fae795693637efa8a82689848d13fe Mon Sep 17 00:00:00 2001 From: antranigv Date: Tue, 5 Apr 2022 15:55:18 +0400 Subject: [PATCH] Set the maximum command line char to 2048 The reasoning is because POSIX's requirements, see https://github.com/freebsd/freebsd-src/blob/main/include/limits.h#L72 for more info --- src/unix/vpkGit.Mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/vpkGit.Mod b/src/unix/vpkGit.Mod index 10a727a..f3937f7 100644 --- a/src/unix/vpkGit.Mod +++ b/src/unix/vpkGit.Mod @@ -3,7 +3,7 @@ IMPORT Out, Strings, Platform, vpkEnv; PROCEDURE pull*(url : ARRAY OF CHAR; dst : ARRAY OF CHAR); VAR i : INTEGER; - cmd : ARRAY 512 OF CHAR; + cmd : ARRAY 2048 OF CHAR; BEGIN cmd:= "git init "; Strings.Append(dst, cmd);