summaryrefslogtreecommitdiff
path: root/pp_ctl.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 /pp_ctl.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 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index c06e796db3..74a5450567 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3595,7 +3595,7 @@ S_check_type_and_open(pTHX_ SV *name)
return NULL;
}
-#if !defined(PERLIO_IS_STDIO) && !defined(USE_SFIO)
+#if !defined(PERLIO_IS_STDIO)
return PerlIO_openn(aTHX_ ":", PERL_SCRIPT_MODE, -1, 0, 0, NULL, 1, &name);
#else
return PerlIO_open(p, PERL_SCRIPT_MODE);