This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor macros in pp_pack.c, removing support for mixed-endian byte orders.
authorNicholas Clark <nick@ccl4.org>
Mon, 6 May 2013 13:46:02 +0000 (15:46 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 20 May 2013 19:19:43 +0000 (21:19 +0200)
commit3cc90e2e712615f2081743c38153954d60e3f0df
treec00bbd98d088892586f26e7529b9e6fb6db3c062
parent691a44df41bbec11b634fc7bbf78a6eeb1f768a3
Refactor macros in pp_pack.c, removing support for mixed-endian byte orders.

The byte-order handling can be simplified considerably if we don't have to
support mixed-endian systems. It's not clear whether Perl 5.000 even
compiled on PDP-11s, let alone more recent versions.

Support probably can be added back at the end of the refactoring, if someone
has time and a PDP-11 to test on, but for the intermediate stages it is a
lot easier not to need to think about such platforms.
pp_pack.c