summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2022-04-19 16:41:23 +0200
committerxenu <me@xenu.pl>2022-05-29 00:54:10 +0200
commitae6b6b71cdbfb3fb6e1192178fa1e530a2f07ece (patch)
tree19d644c0277a598f8f5b2062ef20b43d78591c61 /makedef.pl
parentb95d23342a119c6677aa5ad786ca7d002c98bef2 (diff)
downloadperl-ae6b6b71cdbfb3fb6e1192178fa1e530a2f07ece.tar.gz
make PERL_USE_SAFE_PUTENV the default and the only option
Now environ isn't owned by Perl and calling setenv/putenv in XS code will no longer result in memory corruption. Fixes #19399
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/makedef.pl b/makedef.pl
index 0d594043d0..99090cb417 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -353,10 +353,6 @@ else {
);
}
-if ($define{'PERL_USE_SAFE_PUTENV'}) {
- ++$skip{PL_use_safe_putenv};
-}
-
unless ($define{'USE_ITHREADS'}) {
++$skip{PL_thr_key};
++$skip{PL_user_prop_mutex};