nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

Missing PerlIO::scalar with __DATA__ #360

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
t/testc.sh -O2 317 (or any other module/test with __DATA__)

skip xs_init for PerlIO::scalar !$INC{PerlIO/scalar.pm}
no dl_init for PerlIO::scalar, not bootstrapped

but we need PerlIO::scalar to be able to read from the generated $DATA handle,
We need to special case this.

Original issue reported on code.google.com by reini.urban on 12 Jul 2014 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 12 Jul 2014 at 5:24

GoogleCodeExporter commented 9 years ago
Fixed with commit dbfaea898c824c69ff2694288136e8617c5d6ba7
Author: Reini Urban <rurban@cpanel.net>
Date:   Sat Jul 12 12:33:39 2014 -0500

    C: 1.48_02: fix PerlIO::scalar XS bootstrap forced by __DATA__ (#360)

    There was one typo: PerlIO/Scalar.pm
    and we need to add it to %curINC our current INC regime.
    No special cases needed

Original comment by reini.urban on 12 Jul 2014 at 5:38