This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate the conditionally-compiled fallback functions for htonl etc.
authorNicholas Clark <nick@ccl4.org>
Mon, 6 May 2013 12:40:04 +0000 (14:40 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 20 May 2013 19:19:43 +0000 (21:19 +0200)
commit691a44df41bbec11b634fc7bbf78a6eeb1f768a3
treec36b99baa0e5faf7139ef0b22efe36f60d1d24ec
parent66bb80e4324617840aa70c8af410bf76eedcbea1
Eliminate the conditionally-compiled fallback functions for htonl etc.

These are now only being used for mixed-endian platforms which do not
provide their own htnol (etc) functions. Given that the fallbacks have been
buggy since they were added in Perl 3.0, it's safe to conclude that no
mixed-endian platforms were ever using these functions.

It's also unclear why these functions were ever marked as 'A', part of the
API. XS code can't call them directly, as it can't rely on them being
compiled. Unsurprisingly, no code on CPAN references them.
embed.fnc
embed.h
perl.h
proto.h
util.c