evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sl / slurm / common-env-echo.patch
blobcff52116d1454bef3fbb65db582fec9b3a87ad17
1 diff --git a/src/common/env.c b/src/common/env.c
2 index 4dad18fef1..730f28af96 100644
3 --- a/src/common/env.c
4 +++ b/src/common/env.c
5 @@ -2073,7 +2073,7 @@ char **env_array_user_default(const char *username, int timeout, int mode,
6 char **env = NULL;
7 char *starttoken = "XXXXSLURMSTARTPARSINGHEREXXXX";
8 char *stoptoken = "XXXXSLURMSTOPPARSINGHEREXXXXX";
9 - char cmdstr[256], *env_loc = NULL;
10 + char cmdstr[PATH_MAX], *env_loc = NULL;
11 char *stepd_path = NULL;
12 int fildes[2], found, fval, len, rc, timeleft;
13 int buf_read, buf_rem, config_timeout;