This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PerlIO_list_push() accepts a non-const PerlIO_funcs pointer
authorTony Cook <tony@develop-help.com>
Mon, 27 Oct 2014 03:35:53 +0000 (14:35 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 27 Oct 2014 03:35:53 +0000 (14:35 +1100)
commit0987d6f3c0887ebe1a7db4d50e4827861bbb34e7
tree678f975e6d1f24ec37c76ed4fe84eadddd874b1c
parente4e95921cd0fd085a5edf35ae358cd213529e55a
PerlIO_list_push() accepts a non-const PerlIO_funcs pointer

but under -DPERL_GLOBAL_STRUCT_PRIVATE, most PerlIO_funcs objects
and pointers are const, so cast to match the function parameter.

This was broken by f814d560e84f which changed from looking up the
layer by the name in tab (or osLayer) to adding those directly.
perlio.c