From 97cb92d6c0700e9454bd4ae6d4ab867918bf7861 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 9 Dec 2013 22:18:22 +0100 Subject: 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. --- pp_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pp_ctl.c') 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); -- cgit v1.2.1