diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-07-31 12:32:27 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-08-05 14:54:19 +0200 |
commit | 304dad4c4ab670eacdc2f5034695fdca0e71da88 (patch) | |
tree | fb2578befa60a3dfd3d1ddfdbb67b9684613fcc9 /dist/Storable | |
parent | 995b7ce2ef64356a230e10fc9f83f336c1c30d4d (diff) | |
download | perl-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/Storable')
-rw-r--r-- | dist/Storable/Storable.xs | 2 |
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)) \ { \ |