Searched refs:fakeenv (Results 1 – 2 of 2) sorted by relevance
119 static char ** fakeenv; in dogmt() local121 if (fakeenv == NULL) { in dogmt()128 if (!ckd_add(&n, n, 2) && !ckd_mul(&n, n, sizeof *fakeenv) in dogmt()130 fakeenv = malloc(n); in dogmt()132 if (n <= INDEX_MAX / sizeof *fakeenv - 2) in dogmt()133 fakeenv = malloc((n + 2) * sizeof *fakeenv); in dogmt()135 if (fakeenv == NULL) { in dogmt()141 fakeenv[to++] = tzeutc0; in dogmt()144 fakeenv[to++] = environ[from]; in dogmt()145 fakeenv[to] = NULL; in dogmt()[all …]
265 static char **fakeenv; in tzalloc() 268 char **env = fakeenv, **initial_environ; in tzalloc() 288 fakeenv = env = in tzalloc()