571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
14 lines
553 B
Diff
14 lines
553 B
Diff
diff --git a/src/common/env.c b/src/common/env.c
|
|
index 4dad18fef1..730f28af96 100644
|
|
--- a/src/common/env.c
|
|
+++ b/src/common/env.c
|
|
@@ -2073,7 +2073,7 @@ char **env_array_user_default(const char *username, int timeout, int mode,
|
|
char **env = NULL;
|
|
char *starttoken = "XXXXSLURMSTARTPARSINGHEREXXXX";
|
|
char *stoptoken = "XXXXSLURMSTOPPARSINGHEREXXXXX";
|
|
- char cmdstr[256], *env_loc = NULL;
|
|
+ char cmdstr[PATH_MAX], *env_loc = NULL;
|
|
char *stepd_path = NULL;
|
|
int fildes[2], found, fval, len, rc, timeleft;
|
|
int buf_read, buf_rem, config_timeout;
|