diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-12-09 22:18:22 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-12-27 13:25:27 +0100 |
commit | 97cb92d6c0700e9454bd4ae6d4ab867918bf7861 (patch) | |
tree | 10561dae89b7f045ad79ba75d925943dde99ecb8 /doio.c | |
parent | b122cba11755f8bed9555c4070f718e5321f3c79 (diff) | |
download | perl-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 'doio.c')
-rw-r--r-- | doio.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -359,13 +359,6 @@ Perl_do_openn(pTHX_ GV *gv, const char *oname, I32 len, int as_raw, * be optimized away on most platforms; * only Solaris and Linux seem to flush * on that. --jhi */ -#ifdef USE_SFIO - /* sfio fails to clear error on next - sfwrite, contrary to documentation. - -- Nicholas Clark */ - if (PerlIO_seek(that_fp, 0, SEEK_CUR) == -1) - PerlIO_clearerr(that_fp); -#endif /* On the other hand, do all platforms * take gracefully to flushing a read-only * filehandle? Perhaps we should do |