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
This commit is contained in:
antranigv 2022-04-05 15:55:18 +04:00
parent 3706bb5f7d
commit 3e2a115c73
No known key found for this signature in database
GPG key ID: DE3998662D59F21C

View file

@ -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);