In perl.git, the branch smoke-me/nicholas/RT-118603 has been updated <http://perl5.git.perl.org/perl.git/commitdiff/13d58115f07b12133a2df2821b893f0fc20065d9?hp=7faf190f41917e1bc4b8893038d5364d8e5306da>
- Log ----------------------------------------------------------------- commit 13d58115f07b12133a2df2821b893f0fc20065d9 Author: Nicholas Clark <n...@ccl4.org> Date: Sat Jun 22 14:25:26 2013 -0700 Update B's size/offset for CvFLAGS to U32, following commit 51c78f1b91bbcd7a. B.xs contains a table of offsets and sizes for members of the various SV structures. This needs updating as 51c78f1b91bbcd7a changed CvFLAGS from U16 to U32. This ommision won't be noticed on little endian platforms, but on big endian platforms B::CV::CvFLAGS will return 0 instead of the true value. ----------------------------------------------------------------------- Summary of changes: ext/B/B.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/B/B.xs b/ext/B/B.xs index fdeca72..fbe6be6 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -1328,7 +1328,7 @@ MODULE = B PACKAGE = B::IV #define PVCV_file_ix sv_char_pp | offsetof(struct xpvcv, xcv_file) #define PVCV_outside_ix sv_SVp | offsetof(struct xpvcv, xcv_outside) #define PVCV_outside_seq_ix sv_U32p | offsetof(struct xpvcv, xcv_outside_seq) -#define PVCV_flags_ix sv_U16p | offsetof(struct xpvcv, xcv_flags) +#define PVCV_flags_ix sv_U32p | offsetof(struct xpvcv, xcv_flags) #define PVHV_max_ix sv_STRLENp | offsetof(struct xpvhv, xhv_max) -- Perl5 Master Repository