On 02/10/2015 12:50 AM, Yaroslav Kuzmin wrote:

Now I'm delving into the stat failure.  Craig Berry made the following
suggestion to get started on that.  Please run

   ./perl -Ilib Porting/expand-macro.pl
'PerlLIO_fstat(my_dirfd(IoDIRP(io)), &PL_statcache)'

and post the one line output.


(02:47) RS12 : PDKUZM | ~/ussport/perl/perl-build :>  ./perl -Ilib 
Porting/expand-macro.pl 'PerlLIO_fstat(my_dirfd(IoDIRP(io)), &PL_statcache)'
c99 -c -DPERL_CORE -qlanglvl=extended:extc89:extc99 -qlongname -qxplink -qdll 
-qfloat=ieee -qhaltonmsg=3296:4108 -DMAXSIG=39 -DOEMVS -D_OE_SOCKETS 
-D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC -D_POSIX_SOURCE=1 -DDEBUGGING 
-g -E try.c > try.i
#line 4 "PerlLIO_fstat expands to"
fstat(((Perl_my_dirfd(((XPVIO*) 
(io)->sv_any)->xio_dirpu.xiou_dirp))),((&PL_statcache)))


Ok. I'll now take Jarkko's advice and write a C program that exercises this code outside of Perl.

In the meantime, I've a new branch to test which adds some different debugging to the dumper.t failure.

Reply via email to