Searched refs:oldenv (Results 1 – 4 of 4) sorted by relevance
43 static char *oldenv; in test_heap_memory() local54 if (oldenv != NULL) { in test_heap_memory()55 free(oldenv); /* avoid memory leak */ in test_heap_memory()57 oldenv = env; in test_heap_memory()
317 my %oldenv;3506 foreach my $var (keys %oldenv) {3507 if($oldenv{$var} eq 'notset') {3511 $ENV{$var} = $oldenv{$var};3513 delete $oldenv{$var};3574 $oldenv{$var} = ($ENV{$var})?"$ENV{$var}":'notset';4058 if(%oldenv) {4059 foreach my $var (keys %oldenv) {4060 if($oldenv{$var} eq 'notset') {4064 $ENV{$var} = "$oldenv{$var}";
2551 const char *oldenv = getenv(kLdPreloadEnvVar); in setup_preload()2553 if (!oldenv) in setup_preload()2554 oldenv = ""; in setup_preload()2557 if (asprintf(&newenv, "%s%s%s", oldenv, oldenv[0] != '\0' ? " " : "", in setup_preload()
932 char **oldenv = environ, *s, *ss = str ? : pl2str(TT.ff->pl->next, 0); in run_subshell() local949 environ = oldenv; in run_subshell()2272 **sss = 0, **oldenv = environ, **argv2; in sh_exec() local2314 environ = oldenv; in sh_exec()