diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 02:47:04 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 02:47:04 +0000 |
commit | d702ae4256b191c7ab78dd4e746c2175206f38ce (patch) | |
tree | 50251cab91f62dc8040abf2e3c987f91e863023c /util.c | |
parent | cf21f3c64baee1fc09bbeb991ec292f2b276bce6 (diff) | |
download | perl-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |