summaryrefslogtreecommitdiff
path: root/perl.h
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 /perl.h
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 'perl.h')
-rw-r--r--perl.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/perl.h b/perl.h
index 5e3b84654e..f245ad9d2e 100644
--- a/perl.h
+++ b/perl.h
@@ -1016,12 +1016,6 @@ EXTERN_C int usleep(unsigned int);
# include <arpa/inet.h>
#endif
-#if defined(SF_APPEND) && defined(USE_SFIO) && defined(I_SFIO)
-/* <sfio.h> defines SF_APPEND and <sys/stat.h> might define SF_APPEND
- * (the neo-BSD seem to do this). */
-# undef SF_APPEND
-#endif
-
#ifdef I_SYS_STAT
# include <sys/stat.h>
#endif
@@ -2960,7 +2954,7 @@ typedef pthread_key_t perl_key;
* out there, Solaris being the most prominent.
*/
#ifndef PERL_FLUSHALL_FOR_CHILD
-# if defined(USE_PERLIO) || defined(FFLUSH_NULL) || defined(USE_SFIO)
+# if defined(USE_PERLIO) || defined(FFLUSH_NULL)
# define PERL_FLUSHALL_FOR_CHILD PerlIO_flush((PerlIO*)NULL)
# else
# ifdef FFLUSH_ALL
@@ -3976,7 +3970,7 @@ typedef Sighandler_t Sigsave_t;
# define RUNOPS_DEFAULT Perl_runops_standard
#endif
-#if defined(USE_PERLIO) && !defined(USE_SFIO)
+#if defined(USE_PERLIO)
EXTERN_C void PerlIO_teardown(void);
# ifdef USE_ITHREADS
# define PERLIO_INIT MUTEX_INIT(&PL_perlio_mutex)
@@ -4631,9 +4625,6 @@ EXTCONST char PL_bincompat_options[] =
# ifdef USE_REENTRANT_API
" USE_REENTRANT_API"
# endif
-# ifdef USE_SFIO
- " USE_SFIO"
-# endif
# ifdef USE_SOCKS
" USE_SOCKS"
# endif