develooper Front page | perl.perl5.porters | Postings from December 2017

Does XS::APItest need fakesdio.h?

From:
Father Chrysostomos
Date:
December 11, 2017 18:02
Subject:
Does XS::APItest need fakesdio.h?
Message ID:
20171211180206.14585.qmail@lists-nntp.develooper.com
It was added in this commit:

commit c69a26e800153396666dbd931fd30c3885104a2f
Author: Karl Williamson <public@khwilliamson.com>
Date:   Sat Dec 21 16:51:59 2013 -0700

    APItest.xs: #include fakesdio.h
    
    This causes the printf's and other stdio functions in the file to
    instead be the PerlIO equivalents.  We aren't trying to test libc
    after all.  See http://markmail.org/message/h26bq75cxlfe3y7r

But it prevents us from cleanly testing API functions such as
PerlIO_findFILE.  So how do we test those?



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About