Searched refs:oldenv (Results 1 – 2 of 2) sorted by relevance
20 static char **oldenv; in __putenv() local22 if (__environ == oldenv) { in __putenv()23 newenv = realloc(oldenv, sizeof *newenv * (i+2)); in __putenv()29 free(oldenv); in __putenv()33 __environ = oldenv = newenv; in __putenv()
324 my %oldenv;3684 foreach my $var (keys %oldenv) {3685 if($oldenv{$var} eq 'notset') {3689 $ENV{$var} = $oldenv{$var};3691 delete $oldenv{$var};3742 $oldenv{$var} = ($ENV{$var})?"$ENV{$var}":'notset';4226 if(%oldenv) {4227 foreach my $var (keys %oldenv) {4228 if($oldenv{$var} eq 'notset') {4232 $ENV{$var} = "$oldenv{$var}";