summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-12-09 22:18:22 +0100
committerNicholas Clark <nick@ccl4.org>2013-12-27 13:25:27 +0100
commit97cb92d6c0700e9454bd4ae6d4ab867918bf7861 (patch)
tree10561dae89b7f045ad79ba75d925943dde99ecb8 /universal.c
parentb122cba11755f8bed9555c4070f718e5321f3c79 (diff)
downloadperl-97cb92d6c0700e9454bd4ae6d4ab867918bf7861.tar.gz
Purge sfio support, which has been broken for a decade.
The last Perl release that built with -Dusesfio was v5.8.0, and even that failed many regression tests. Every subsequent release fails to build, and in the decade that has passed we have had no bug reports about this. So it's safe to delete all the code. The Configure related code will be purged in a subsequent commit. 2 references to sfio intentionally remain in fakesdio.h and nostdio.h, as these appear to be for using its stdio API-compatibility layer.
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/universal.c b/universal.c
index 110ab8d9cf..49ef0a43f3 100644
--- a/universal.c
+++ b/universal.c
@@ -29,7 +29,7 @@
#define PERL_IN_UNIVERSAL_C
#include "perl.h"
-#if defined(USE_PERLIO) && !defined(USE_SFIO)
+#if defined(USE_PERLIO)
#include "perliol.h" /* For the PERLIO_F_XXX */
#endif
@@ -1026,7 +1026,7 @@ XS(XS_PerlIO_get_layers)
dXSARGS;
if (items < 1 || items % 2 == 0)
croak_xs_usage(cv, "filehandle[,args]");
-#if defined(USE_PERLIO) && !defined(USE_SFIO)
+#if defined(USE_PERLIO)
{
SV * sv;
GV * gv;