summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-12 11:49:25 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-12 11:49:25 +0000
commitac5c734f32ccd9787762253192de0d559609abae (patch)
tree9a652b97ea5faa3c9379b58275b5a101e2076b90 /mg.c
parenta2093a06980c0ef77ac4631e8b8f383be904f06a (diff)
downloadperl-ac5c734f32ccd9787762253192de0d559609abae.tar.gz
support win32_putenv()
p4raw-id: //depot/perl@2898
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index bab5298acb..ce6052f901 100644
--- a/mg.c
+++ b/mg.c
@@ -890,7 +890,7 @@ magic_clear_all_env(SV *sv, MAGIC *mg)
*end = '\0';
my_setenv(cur,Nullch);
*end = '=';
- cur += strlen(end+1)+1;
+ cur = end + strlen(end+1)+2;
}
else if ((len = strlen(cur)))
cur += len+1;