summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-12-26 10:45:22 +0000
committerDavid Mitchell <davem@iabyn.com>2019-02-19 13:28:11 +0000
commit1565c085c35f9f8b0c729dff0ac353dcb8d79df6 (patch)
tree8a43c3a91cfb4d51f5455d00614a9896494e6112 /dump.c
parent0bb8cb436da6e18869ede1dfa3d55abc438bff5f (diff)
downloadperl-1565c085c35f9f8b0c729dff0ac353dcb8d79df6.tar.gz
add dVAR's for PERL_GLOBAL_STRUCT_PRIVATE builds
The perl build option -DPERL_GLOBAL_STRUCT_PRIVATE had bit-rotted due to lack of smoking. The main fix is to just add 'dVAR;' to any functions which have a pTHX arg. It's a NOOP on normal builds.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 98a307e038..9de1941b5a 100644
--- a/dump.c
+++ b/dump.c
@@ -1699,6 +1699,7 @@ const struct flag_to_name regexp_core_intflags_names[] = {
void
Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
{
+ dVAR;
SV *d;
const char *s;
U32 flags;