Skip to content
Snippets Groups Projects
Commit dc617ff7 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

pass MAXENV to 4095

parent 04f2e888
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define USR1 6 #define USR1 6
#define USR2 7 #define USR2 7
#define MAXENV 4096 #define MAXENV 4095
#define SIGSIZE 64 #define SIGSIZE 64
static uid_t OWNER ; static uid_t OWNER ;
...@@ -866,7 +866,7 @@ int main(int argc, char const *const *argv, char const *const *envp) ...@@ -866,7 +866,7 @@ int main(int argc, char const *const *argv, char const *const *envp)
stralloc envdir = STRALLOC_ZERO ; stralloc envdir = STRALLOC_ZERO ;
stralloc signal = STRALLOC_ZERO ; stralloc signal = STRALLOC_ZERO ;
char const *newenv[MAXENV] ; char const *newenv[MAXENV+1] ;
char const *const *genv = NULL ; char const *const *genv = NULL ;
up = down = rescan = create = remove = 0 ; up = down = rescan = create = remove = 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment