summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-07-31 12:32:27 +0200
committerNicholas Clark <nick@ccl4.org>2013-08-05 14:54:19 +0200
commit304dad4c4ab670eacdc2f5034695fdca0e71da88 (patch)
treefb2578befa60a3dfd3d1ddfdbb67b9684613fcc9 /dist
parent995b7ce2ef64356a230e10fc9f83f336c1c30d4d (diff)
downloadperl-304dad4c4ab670eacdc2f5034695fdca0e71da88.tar.gz
Restore Storable's DEBUGME build after commit 591596833b093b3c
Storable.xs can conditionally compile debugging code if the C pre-processor macro DEBUGME is defined. By default, it is not. Commit 591596833b093b3c changed the name and purpose of the second argument to the macro BLESS(), but missed updating the name in one location, within code conditionally enabled by DEBUGME, hence breaking compilation with DEBUGME. Fix compilation by correcting that code to use the new macro parameter name.
Diffstat (limited to 'dist')
-rw-r--r--dist/Storable/Storable.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Storable/Storable.xs b/dist/Storable/Storable.xs
index 300ba66dde..150d9e88db 100644
--- a/dist/Storable/Storable.xs
+++ b/dist/Storable/Storable.xs
@@ -1044,7 +1044,7 @@ static const char byteorderstr_56[] = {BYTEORDER_BYTES_56, 0};
#define BLESS(s,stash) \
STMT_START { \
SV *ref; \
- TRACEME(("blessing 0x%"UVxf" in %s", PTR2UV(s), (HvNAME_get(p)))); \
+ TRACEME(("blessing 0x%"UVxf" in %s", PTR2UV(s), (HvNAME_get(stash)))); \
ref = newRV_noinc(s); \
if (cxt->in_retrieve_overloaded && Gv_AMG(stash)) \
{ \