diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-06-22 14:25:26 -0700 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2013-06-25 01:33:21 +0200 |
commit | e93a7aed5025e7a4a75183e849970644a7f6f868 (patch) | |
tree | 2b6339574d5f8c07fc29998d496c68735a12ba3a /ext | |
parent | 391c72152e89f549903d94fa5a57cda2ddcd58f7 (diff) | |
download | perl-e93a7aed5025e7a4a75183e849970644a7f6f868.tar.gz |
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.
For: RT #118603
Diffstat (limited to 'ext')
-rw-r--r-- | ext/B/B.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs index fdeca72367..fbe6be6719 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) |