This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add 'head' field to PerlIOl struct
authorDavid Mitchell <davem@iabyn.com>
Tue, 16 Nov 2010 22:44:34 +0000 (22:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 26 Nov 2010 16:01:33 +0000 (16:01 +0000)
commit16865ff7e97c2532fd2001d68cf18909acb0d838
treebf7fd4576f7ad2bab0182d6a83e8d16a0495acbb
parent303f2dc3d5bda8ee962db318dd53acb167c07485
add 'head' field to PerlIOl struct

This allows any layer to find the top of the layer stack,
or more specifically, the entry in PL_perlio that points to
the top.

Needed for the next commit, which will implement a reference counting
scheme.

There's currently a bug in MakeMaker which causes several extensions to
miss the dependency on perliol.h having changed, so this commit includes
a gratuitous whitespace change to perl.h to hopefully force recompilation.
perl.h
perlio.c
perliol.h