my_fflush_all() wasn't doing the right thing under useperlio
Gurusamy Sarathy [Wed, 18 Dec 2002 23:12:14 +0000 (23:12 +0000)]
on many platforms

p4raw-id: //depot/perl@18335

util.c

diff --git a/util.c b/util.c
index b58a1b4..64cb738 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2985,7 +2985,7 @@ Perl_get_vtbl(pTHX_ int vtbl_id)
 I32
 Perl_my_fflush_all(pTHX)
 {
-#if defined(FFLUSH_NULL)
+#if defined(USE_PERLIO) || defined(FFLUSH_NULL) || defined(USE_SFIO)
     return PerlIO_flush(NULL);
 #else
 # if defined(HAS__FWALK)