summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-12-18 23:12:14 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-12-18 23:12:14 +0000
commitf800e14d03e1bfa2cf42b86e56c0183cd5875618 (patch)
tree9eca5b2c5cac882b61f7431d7abbb775ea7131b8 /util.c
parentc67773d0c9c360a2a93d7e99edf5825f76a431d3 (diff)
downloadperl-f800e14d03e1bfa2cf42b86e56c0183cd5875618.tar.gz
my_fflush_all() wasn't doing the right thing under useperlio
on many platforms p4raw-id: //depot/perl@18335
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index b58a1b46a9..64cb73811b 100644
--- 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)