This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5be9e82
)
APItest.xs: #include fakesdio.h
author
Karl Williamson
<public@khwilliamson.com>
Sat, 21 Dec 2013 23:51:59 +0000
(16:51 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sat, 4 Jan 2014 20:33:07 +0000
(13:33 -0700)
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
ext/XS-APItest/APItest.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/XS-APItest/APItest.xs
b/ext/XS-APItest/APItest.xs
index
e352195
..
a4b91f6
100644
(file)
--- a/
ext/XS-APItest/APItest.xs
+++ b/
ext/XS-APItest/APItest.xs
@@
-2,6
+2,7
@@
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
+#include "fakesdio.h" # Causes us to use PerlIO below
typedef SV *SVREF;
typedef PTR_TBL_t *XS__APItest__PtrTable;