summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:47:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:47:04 +0000
commitd702ae4256b191c7ab78dd4e746c2175206f38ce (patch)
tree50251cab91f62dc8040abf2e3c987f91e863023c /util.c
parentcf21f3c64baee1fc09bbeb991ec292f2b276bce6 (diff)
downloadperl-d702ae4256b191c7ab78dd4e746c2175206f38ce.tar.gz
cygwin update from Eric Fifer <EFifer@sanwaint.com>
p4raw-id: //depot/perl@4717
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 416a437dfd..6cbfbcd850 100644
--- a/util.c
+++ b/util.c
@@ -1889,7 +1889,7 @@ Perl_my_setenv_init(char ***penviron)
}
void
-my_setenv(char *nam, char *val)
+Perl_my_setenv(char *nam, char *val)
{
/* You can not directly manipulate the environ[] array because
* the routines do some additional work that syncs the Cygwin
@@ -1901,13 +1901,13 @@ my_setenv(char *nam, char *val)
if (!oldstr)
return;
unsetenv(nam);
- Safefree(oldstr);
+ safesysfree(oldstr);
return;
}
setenv(nam, val, 1);
environ = *Perl_main_environ; /* environ realloc can occur in setenv */
if(oldstr && environ[setenv_getix(nam)] != oldstr)
- Safefree(oldstr);
+ safesysfree(oldstr);
}
#else /* if WIN32 */