summaryrefslogtreecommitdiff
path: root/packsizetables.c
Commit message (Collapse)AuthorAgeFilesLines
* Use IVSIZE not HAS_QUAD to enable 'q' and 'Q' formats in pack.Nicholas Clark2013-09-171-4/+4
| | | | | | | | | | | Whilst the code for 'q' and 'Q' in pp_pack is itself well behaved if enabled on a perl with 32 bit IVs (using SvNV instead of SvIV and SvUV), the regression tests are not. Several tests use an eval of "pack 'q'" to determine if 64 bit integer support is available (instead of $Config{ivsize}), and t/op/pack.t fails many tests. While these could be fixed (or skipped), unfortunately the approach of evaling "pack 'q'" is fairly popular on CPAN, so the breakage isn't just in the perl core, and might also be present in code we can't see or submit patches for.
* Eliminate pre-5.9.x conditional code for PERL_PACK_CAN_SHRIEKSIGNNicholas Clark2013-05-201-32/+0
| | | | | | | PERL_PACK_CAN_SHRIEKSIGN has been unconditionally defined for versions 5.9.x and greater, and undefined for 5.8.x. As we are never going to need to port changes back to maint-5.8 any more, eliminate all the 5.8.x related code and the macro that supports it.
* Move genpacksizetables.pl to regen/genpacksizetables.plNicholas Clark2013-05-201-1/+1
|
* Refactor genpacksizetables.pl to use regen/regen_lib.plNicholas Clark2013-05-201-2/+7
|
* Extract the generated packprops array into packsizetables.c.Nicholas Clark2013-05-201-0/+249
The C source is the output from genpacksizetables.pl Previously it was pasted into pp_pack.c LocalWords: packprops