summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-03-03 18:30:40 +0000
committerDavid Mitchell <davem@iabyn.com>2013-03-03 18:37:16 +0000
commit6b89892441718fab3b833492ed0f067af21be823 (patch)
tree9bfd02831cfa25661e5b96d33d31582792114fe8 /makedef.pl
parentb95f969b03c79d1a9cda098c611d894dd874b35a (diff)
downloadperl-6b89892441718fab3b833492ed0f067af21be823.tar.gz
ensure PL_sawampersand is exported.
Commit 1a904fc88069e249a4bd0ef196a3f1a7f549e0fe disabled PL_sawampersand by default, since it was redundant with COW enabled. However the mechanism to optionally re-enable it (PERL_SAWAMPERSAND) didn't actually export the var, due to a typo. With the new default of disabling COW but enabling PL_sawampersand, this broke perl on builds where exports matters (and broke linux in non-threaded builds, where porting/globvar.t detects this).
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index eefbbe4fa6..bcfed24d3d 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -279,7 +279,7 @@ unless ($define{'PERL_OLD_COPY_ON_WRITE'}
++$skip{Perl_sv_setsv_cow};
}
-unless ($define{PERL_SAW_AMPERSAND}) {
+unless ($define{PERL_SAWAMPERSAND}) {
++$skip{PL_sawampersand};
}