Home
last modified time | relevance | path

Searched refs:oldenv (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/src/env/
Dputenv.c20 static char **oldenv; in __putenv() local
22 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()
/third_party/curl/tests/
Druntests.pl324 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}";